Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.001405/0.001405, allocations: 106.5 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 186.5 kB / 17.19 MB, free: 5.609 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7486/0.7486, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.89 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3485, allocations: 77.92 MB / 0.5673 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002318/0.3509, allocations: 1.424 MB / 0.5687 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004186/0.3513, allocations: 250.3 kB / 0.5689 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.3514, allocations: 1.719 kB / 0.5689 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.3514, allocations: 6.219 kB / 0.5689 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.434e-05/0.3514, allocations: 1.062 kB / 0.5689 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.3517, allocations: 48.69 kB / 0.569 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.037e-05/0.3518, allocations: 26.67 kB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.176e-05/0.3519, allocations: 3.5 kB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.257e-05/0.3519, allocations: 13.23 kB / 0.569 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.341e-05/0.352, allocations: 15.09 kB / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.208e-06/0.352, allocations: 2.281 kB / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.3521, allocations: 57.41 kB / 0.5691 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.3521, allocations: 5.312 kB / 0.5691 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.3521, allocations: 11.52 kB / 0.5691 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.3523, allocations: 52.59 kB / 0.5691 GB, free: 31.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3523, allocations: 1.594 kB / 0.5691 GB, free: 31.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3523, allocations: 0.6562 kB / 0.5691 GB, free: 31.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.3523, allocations: 0 / 0.5691 GB, free: 31.35 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003344/0.3526, allocations: 347.6 kB / 0.5695 GB, free: 30.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3527, allocations: 11.47 kB / 0.5695 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.305e-05/0.3527, allocations: 32.2 kB / 0.5695 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.189e-05/0.3527, allocations: 2.906 kB / 0.5695 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.113e-05/0.3528, allocations: 163.9 kB / 0.5697 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3528, allocations: 6.359 kB / 0.5697 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.3529, allocations: 5.75 kB / 0.5697 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.353, allocations: 44.42 kB / 0.5697 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.353, allocations: 10.62 kB / 0.5697 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.353, allocations: 4 kB / 0.5697 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3531, allocations: 1.406 kB / 0.5697 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.3532, allocations: 37.75 kB / 0.5698 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.3535, allocations: 252.9 kB / 0.57 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.3536, allocations: 45.06 kB / 0.5701 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.3537, allocations: 19.47 kB / 0.5701 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005203/0.3542, allocations: 457.5 kB / 0.5705 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.3542, allocations: 32.31 kB / 0.5706 GB, free: 29.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3542, allocations: 0 / 0.5706 GB, free: 29.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003345/0.3546, allocations: 82.06 kB / 0.5706 GB, free: 29.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/0.3546, allocations: 56.5 kB / 0.5707 GB, free: 29.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.251e-05/0.3547, allocations: 97.02 kB / 0.5708 GB, free: 29.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.3547, allocations: 35.33 kB / 0.5708 GB, free: 29.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.242e-05/0.3547, allocations: 82.88 kB / 0.5709 GB, free: 29.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.3547, allocations: 5.781 kB / 0.5709 GB, free: 29.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.3548, allocations: 12.69 kB / 0.5709 GB, free: 29.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.972e-05/0.3548, allocations: 317.6 kB / 0.5712 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.073e-05/0.3549, allocations: 13.91 kB / 0.5712 GB, free: 29.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.406e-05/0.355, allocations: 21.38 kB / 0.5712 GB, free: 29.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.3551, allocations: 36.69 kB / 0.5713 GB, free: 29.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3551, allocations: 5.453 kB / 0.5713 GB, free: 29.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001814/0.3553, allocations: 68.02 kB / 0.5713 GB, free: 29.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3553, allocations: 6.094 kB / 0.5714 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3554, allocations: 0 / 0.5714 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.3554, allocations: 2.625 kB / 0.5714 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.3555, allocations: 8.578 kB / 0.5714 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3555, allocations: 1.062 kB / 0.5714 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.3555, allocations: 7.266 kB / 0.5714 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.3555, allocations: 0.7812 kB / 0.5714 GB, free: 29.14 MB / 446.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 (2): * Single equations (assignments): 2 * 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 4.262e-05/0.3556, allocations: 117.3 kB / 0.5715 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.3556, allocations: 6.188 kB / 0.5715 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.3558, allocations: 68.69 kB / 0.5716 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3558, allocations: 1.156 kB / 0.5716 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3558, allocations: 0.5312 kB / 0.5716 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3558, allocations: 1.125 kB / 0.5716 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.356, allocations: 167.1 kB / 0.5717 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.356, allocations: 2.672 kB / 0.5717 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.356, allocations: 14.11 kB / 0.5717 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.356, allocations: 0 / 0.5717 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.356, allocations: 5.094 kB / 0.5717 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.356, allocations: 0 / 0.5717 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3561, allocations: 6.078 kB / 0.5717 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.3563, allocations: 159.4 kB / 0.5719 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.3563, allocations: 80.2 kB / 0.572 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.3563, allocations: 2 kB / 0.572 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.3564, allocations: 6.516 kB / 0.572 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.3564, allocations: 8 kB / 0.572 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.3564, allocations: 0 / 0.572 GB, free: 28.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.991e-05/0.3564, allocations: 85.05 kB / 0.5721 GB, free: 28.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3565, allocations: 0 / 0.5721 GB, free: 28.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.3567, allocations: 14.91 kB / 0.5721 GB, free: 28.45 MB / 446.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 (2): * Single equations (assignments): 2 * 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.0004124/0.3571, allocations: 0.7167 MB / 0.5728 GB, free: 27.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.3573, allocations: 36.72 kB / 0.5728 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3573, allocations: 0 / 0.5728 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.218e-05/0.3574, allocations: 25.16 kB / 0.5728 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.3577, allocations: 2.328 kB / 0.5728 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.358, allocations: 145 kB / 0.573 GB, free: 27.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.104e-05/0.3581, allocations: 0.6754 MB / 0.5736 GB, free: 26.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.901e-05/0.3581, allocations: 1.766 kB / 0.5736 GB, free: 26.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.3582, allocations: 10.14 kB / 0.5737 GB, free: 26.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3582, allocations: 0 / 0.5737 GB, free: 26.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.3748, allocations: 1.474 MB / 0.5751 GB, free: 26.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.33/7.704, allocations: 4.625 kB / 0.5751 GB, free: 26.58 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)