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.005058/0.005058, allocations: 101 kB / 15.88 MB, free: 6.32 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.001269/0.001269, allocations: 194.9 kB / 16.79 MB, free: 6.246 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.287/1.287, allocations: 222.9 MB / 240.5 MB, free: 15.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6712/0.6712, allocations: 115.3 MB / 405.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002684/0.002685, allocations: 59.91 kB / 493 MB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3737, allocations: 76.17 MB / 0.5558 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.001974/0.3757, allocations: 1.489 MB / 0.5573 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004515/0.3761, allocations: 252.6 kB / 0.5575 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.837e-05/0.3762, allocations: 1.375 kB / 0.5575 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.3762, allocations: 0 / 0.5575 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.545e-05/0.3763, allocations: 6.969 kB / 0.5575 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.3765, allocations: 42.28 kB / 0.5576 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.386e-05/0.3766, allocations: 24.08 kB / 0.5576 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.687e-05/0.3766, allocations: 10.2 kB / 0.5576 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.856e-05/0.3767, allocations: 6.562 kB / 0.5576 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.944e-05/0.3767, allocations: 11.67 kB / 0.5576 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.634e-06/0.3767, allocations: 1.844 kB / 0.5576 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.3768, allocations: 62.03 kB / 0.5577 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.205e-06/0.3769, allocations: 6.609 kB / 0.5577 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.939e-05/0.3769, allocations: 9.547 kB / 0.5577 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.377, allocations: 55.53 kB / 0.5577 GB, free: 35.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.377, allocations: 1.25 kB / 0.5577 GB, free: 35.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.377, allocations: 1.75 kB / 0.5577 GB, free: 35.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.377, allocations: 0 / 0.5577 GB, free: 35.08 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.0003257/0.3774, allocations: 342.9 kB / 0.5581 GB, free: 34.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.3774, allocations: 13.5 kB / 0.5581 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.131e-05/0.3774, allocations: 34.86 kB / 0.5581 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.057e-05/0.3774, allocations: 5.906 kB / 0.5581 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.698e-05/0.3775, allocations: 164.6 kB / 0.5583 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.3775, allocations: 1.312 kB / 0.5583 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.3775, allocations: 2.328 kB / 0.5583 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3777, allocations: 55.86 kB / 0.5583 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.3777, allocations: 4.781 kB / 0.5583 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.3777, allocations: 0 / 0.5583 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.3777, allocations: 2.609 kB / 0.5583 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.3779, allocations: 38.59 kB / 0.5584 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.3781, allocations: 259.8 kB / 0.5586 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.3782, allocations: 43.61 kB / 0.5587 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.317e-05/0.3783, allocations: 20.28 kB / 0.5587 GB, free: 34.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004785/0.3788, allocations: 456.6 kB / 0.5591 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.3788, allocations: 37.88 kB / 0.5592 GB, free: 33.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3788, allocations: 0 / 0.5592 GB, free: 33.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003007/0.3791, allocations: 84.23 kB / 0.5592 GB, free: 33.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.3792, allocations: 53.83 kB / 0.5593 GB, free: 33.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.755e-05/0.3792, allocations: 97.2 kB / 0.5594 GB, free: 33.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.283e-06/0.3792, allocations: 27.81 kB / 0.5594 GB, free: 33.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.952e-05/0.3792, allocations: 84.8 kB / 0.5595 GB, free: 33.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.3793, allocations: 6.641 kB / 0.5595 GB, free: 33.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.3793, allocations: 13.81 kB / 0.5595 GB, free: 33.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.711e-05/0.3793, allocations: 317.7 kB / 0.5598 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.548e-05/0.3794, allocations: 14.11 kB / 0.5598 GB, free: 32.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.884e-05/0.3795, allocations: 18.81 kB / 0.5598 GB, free: 32.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.3796, allocations: 42.7 kB / 0.5599 GB, free: 32.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3796, allocations: 3.938 kB / 0.5599 GB, free: 32.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000166/0.3798, allocations: 65.83 kB / 0.56 GB, free: 32.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.3798, allocations: 5.844 kB / 0.56 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-06/0.3798, allocations: 0 / 0.56 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.3798, allocations: 1.844 kB / 0.56 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.908e-05/0.3799, allocations: 9.328 kB / 0.56 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.3799, allocations: 0.8125 kB / 0.56 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.38, allocations: 10.36 kB / 0.56 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.38, allocations: 1.516 kB / 0.56 GB, free: 32.86 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.191e-05/0.38, allocations: 117.4 kB / 0.5601 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.3801, allocations: 2.641 kB / 0.5601 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.3803, allocations: 73.5 kB / 0.5602 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3803, allocations: 0 / 0.5602 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3803, allocations: 1.828 kB / 0.5602 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3803, allocations: 0.7031 kB / 0.5602 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.945e-05/0.3804, allocations: 159.8 kB / 0.5603 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3804, allocations: 1.062 kB / 0.5603 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.285e-05/0.3804, allocations: 9.891 kB / 0.5603 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3805, allocations: 4.641 kB / 0.5603 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.3805, allocations: 1.25 kB / 0.5603 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3805, allocations: 0.9062 kB / 0.5603 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3805, allocations: 0 / 0.5603 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.3807, allocations: 169.9 kB / 0.5605 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.3807, allocations: 82.94 kB / 0.5606 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.3807, allocations: 0.9375 kB / 0.5606 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.3808, allocations: 12.44 kB / 0.5606 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.3808, allocations: 4.734 kB / 0.5606 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.3808, allocations: 1.188 kB / 0.5606 GB, free: 32.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.011e-05/0.3808, allocations: 84.39 kB / 0.5607 GB, free: 32.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3808, allocations: 0 / 0.5607 GB, free: 32.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.3811, allocations: 13.72 kB / 0.5607 GB, free: 32.18 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.0004138/0.3815, allocations: 0.7158 MB / 0.5614 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.3817, allocations: 37.5 kB / 0.5614 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.3817, allocations: 0 / 0.5614 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.896e-05/0.3818, allocations: 21.94 kB / 0.5614 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.382, allocations: 3.047 kB / 0.5614 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.3823, allocations: 134.4 kB / 0.5616 GB, free: 31.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.874e-05/0.3825, allocations: 0.6803 MB / 0.5622 GB, free: 30.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.246e-05/0.3825, allocations: 3.797 kB / 0.5622 GB, free: 30.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.3825, allocations: 13.66 kB / 0.5623 GB, free: 30.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3825, allocations: 0 / 0.5623 GB, free: 30.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2487/0.6313, allocations: 1.311 MB / 0.5635 GB, free: 30.43 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/0.6315, allocations: 187.5 kB / 0.5637 GB, free: 30.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/2.737, allocations: 0 / 0.5637 GB, free: 30.17 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)