Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 204.9 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6302/0.6302, allocations: 115.3 MB / 406 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.98 kB / 493 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1171, allocations: 76.19 MB / 0.5559 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001648/0.1188, allocations: 0.6345 MB / 0.5565 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004371/0.1192, allocations: 197.9 kB / 0.5567 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.317e-06/0.1193, allocations: 0 / 0.5567 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.1193, allocations: 4 kB / 0.5567 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.247e-06/0.1193, allocations: 3.938 kB / 0.5567 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1196, allocations: 35.91 kB / 0.5567 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.767e-05/0.1196, allocations: 4 kB / 0.5567 GB, free: 9.855 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.1197, allocations: 3.984 kB / 0.5567 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.038e-05/0.1197, allocations: 0 / 0.5567 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.553e-05/0.1197, allocations: 0 / 0.5567 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.07e-06/0.1197, allocations: 0 / 0.5567 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.1199, allocations: 71.88 kB / 0.5568 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-06/0.1199, allocations: 0 / 0.5568 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.1199, allocations: 0 / 0.5568 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.12, allocations: 39.94 kB / 0.5568 GB, free: 9.742 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.12, allocations: 0 / 0.5568 GB, free: 9.742 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.12, allocations: 0 / 0.5568 GB, free: 9.742 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.12, allocations: 0 / 0.5568 GB, free: 9.742 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002468/0.1203, allocations: 315.6 kB / 0.5571 GB, free: 9.383 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1203, allocations: 11.97 kB / 0.5571 GB, free: 9.371 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.671e-05/0.1204, allocations: 30.75 kB / 0.5572 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.847e-05/0.1204, allocations: 4.938 kB / 0.5572 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.401e-05/0.1205, allocations: 168.4 kB / 0.5573 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.1205, allocations: 8.312 kB / 0.5573 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-06/0.1205, allocations: 384 / 0.5573 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.049e-05/0.1206, allocations: 26.27 kB / 0.5574 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1206, allocations: 3.938 kB / 0.5574 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.1206, allocations: 0 / 0.5574 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.1206, allocations: 0 / 0.5574 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.788e-05/0.1206, allocations: 4 kB / 0.5574 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.1208, allocations: 153.7 kB / 0.5575 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.585e-05/0.1208, allocations: 26.55 kB / 0.5575 GB, free: 8.844 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.1208, allocations: 8.797 kB / 0.5576 GB, free: 8.832 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006604/0.1215, allocations: 445.5 kB / 0.558 GB, free: 8.305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.1215, allocations: 38.56 kB / 0.558 GB, free: 8.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1215, allocations: 0 / 0.558 GB, free: 8.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001118/0.1216, allocations: 45.56 kB / 0.5581 GB, free: 8.207 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.1217, allocations: 51.41 kB / 0.5581 GB, free: 8.145 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.16e-05/0.1217, allocations: 89.86 kB / 0.5582 GB, free: 8.047 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.1217, allocations: 25.7 kB / 0.5582 GB, free: 8.016 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.093e-05/0.1218, allocations: 80.14 kB / 0.5583 GB, free: 7.934 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.1218, allocations: 3.906 kB / 0.5583 GB, free: 7.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.1218, allocations: 17.84 kB / 0.5583 GB, free: 7.906 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.1219, allocations: 310.8 kB / 0.5586 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-06/0.1219, allocations: 4 kB / 0.5586 GB, free: 7.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-06/0.122, allocations: 4 kB / 0.5586 GB, free: 7.586 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.358e-05/0.122, allocations: 8.844 kB / 0.5586 GB, free: 7.574 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.122, allocations: 0 / 0.5586 GB, free: 7.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.991e-05/0.122, allocations: 37.64 kB / 0.5587 GB, free: 7.531 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1221, allocations: 8.094 kB / 0.5587 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1221, allocations: 3.938 kB / 0.5587 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.1221, allocations: 0 / 0.5587 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.247e-05/0.1221, allocations: 0 / 0.5587 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1221, allocations: 4 kB / 0.5587 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.377e-06/0.1222, allocations: 0 / 0.5587 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.1222, allocations: 0 / 0.5587 GB, free: 7.516 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.467e-05/0.1222, allocations: 109.8 kB / 0.5588 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-06/0.1222, allocations: 0 / 0.5588 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.541e-05/0.1223, allocations: 44.77 kB / 0.5588 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1223, allocations: 7.938 kB / 0.5588 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1223, allocations: 0 / 0.5588 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1223, allocations: 3.984 kB / 0.5588 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.484e-05/0.1224, allocations: 145.7 kB / 0.559 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1224, allocations: 3.938 kB / 0.559 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.1225, allocations: 4 kB / 0.559 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1225, allocations: 0 / 0.559 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1225, allocations: 3.938 kB / 0.559 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1225, allocations: 0 / 0.559 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1225, allocations: 4.031 kB / 0.559 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.787e-05/0.1226, allocations: 57.12 kB / 0.559 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.1226, allocations: 81.11 kB / 0.5591 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.1226, allocations: 3.938 kB / 0.5591 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-06/0.1226, allocations: 4 kB / 0.5591 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.1226, allocations: 0 / 0.5591 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.1226, allocations: 3.938 kB / 0.5591 GB, free: 6.949 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.108e-05/0.1227, allocations: 79.31 kB / 0.5592 GB, free: 6.871 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1227, allocations: 0 / 0.5592 GB, free: 6.871 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001956/0.1229, allocations: 16 kB / 0.5592 GB, free: 6.855 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003798/0.1233, allocations: 0.6166 MB / 0.5598 GB, free: 6.207 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.954e-05/0.1233, allocations: 8 kB / 0.5598 GB, free: 6.199 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1233, allocations: 0 / 0.5598 GB, free: 6.199 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.521e-06/0.1233, allocations: 0 / 0.5598 GB, free: 6.199 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.1235, allocations: 5.547 kB / 0.5598 GB, free: 6.195 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.1237, allocations: 120.3 kB / 0.56 GB, free: 6.039 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.1239, allocations: 0.6694 MB / 0.5606 GB, free: 5.344 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.06e-05/0.124, allocations: 4 kB / 0.5606 GB, free: 5.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.165e-05/0.124, allocations: 11.44 kB / 0.5606 GB, free: 5.328 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.124, allocations: 0 / 0.5606 GB, free: 5.328 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1185/0.2425, allocations: 1.002 MB / 0.5616 GB, free: 4.43 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/0.2428, allocations: 199.2 kB / 0.5618 GB, free: 4.172 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/1.921, allocations: 0 / 0.5618 GB, free: 4.172 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)