Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",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.001048/0.001048, allocations: 97.69 kB / 16.27 MB, free: 5.973 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.001039/0.001039, allocations: 188.6 kB / 17.19 MB, free: 5.602 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.295/1.295, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7574/0.7574, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3443, allocations: 77.92 MB / 0.5673 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002815/0.3471, allocations: 1.416 MB / 0.5687 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005612/0.3477, allocations: 258.6 kB / 0.5689 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.3478, allocations: 2.031 kB / 0.5689 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.3478, allocations: 4.688 kB / 0.5689 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.712e-05/0.3478, allocations: 1.188 kB / 0.5689 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.3483, allocations: 56.91 kB / 0.569 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.427e-05/0.3483, allocations: 27.84 kB / 0.569 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3484, allocations: 5.078 kB / 0.569 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.408e-05/0.3485, allocations: 9.719 kB / 0.569 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.271e-05/0.3485, allocations: 13.39 kB / 0.569 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.3486, allocations: 2.406 kB / 0.569 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.3487, allocations: 68 kB / 0.5691 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.3487, allocations: 1.828 kB / 0.5691 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.3488, allocations: 12.27 kB / 0.5691 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.3489, allocations: 49.3 kB / 0.5692 GB, free: 31.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.349, allocations: 0.5625 kB / 0.5692 GB, free: 31.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.349, allocations: 1.5 kB / 0.5692 GB, free: 31.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.349, allocations: 0.6562 kB / 0.5692 GB, free: 31.57 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.0004259/0.3494, allocations: 346.8 kB / 0.5695 GB, free: 31.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3495, allocations: 9.906 kB / 0.5695 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.637e-05/0.3495, allocations: 38.06 kB / 0.5695 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.3495, allocations: 2.375 kB / 0.5695 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.187e-05/0.3496, allocations: 163.2 kB / 0.5697 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.3496, allocations: 2.969 kB / 0.5697 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.3497, allocations: 13.52 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3498, allocations: 50.81 kB / 0.5698 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3499, allocations: 3.938 kB / 0.5698 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.3499, allocations: 0 / 0.5698 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3499, allocations: 1.062 kB / 0.5698 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.3501, allocations: 33.97 kB / 0.5698 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.3504, allocations: 252 kB / 0.57 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.3505, allocations: 45.64 kB / 0.5701 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/0.3506, allocations: 24.75 kB / 0.5701 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005962/0.3512, allocations: 456.1 kB / 0.5705 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.3512, allocations: 34.31 kB / 0.5706 GB, free: 30.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3512, allocations: 0 / 0.5706 GB, free: 30.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003433/0.3516, allocations: 80.58 kB / 0.5706 GB, free: 30.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.3516, allocations: 53.84 kB / 0.5707 GB, free: 29.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.822e-05/0.3517, allocations: 108.8 kB / 0.5708 GB, free: 29.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.3517, allocations: 26.86 kB / 0.5708 GB, free: 29.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.3517, allocations: 83.02 kB / 0.5709 GB, free: 29.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.3517, allocations: 5.031 kB / 0.5709 GB, free: 29.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.3518, allocations: 17.8 kB / 0.5709 GB, free: 29.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.3518, allocations: 312.6 kB / 0.5712 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.3519, allocations: 19.41 kB / 0.5712 GB, free: 29.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.256e-05/0.352, allocations: 15.45 kB / 0.5713 GB, free: 29.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.3522, allocations: 37.5 kB / 0.5713 GB, free: 29.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3522, allocations: 9.844 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001823/0.3524, allocations: 65.09 kB / 0.5714 GB, free: 29.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3524, allocations: 5.562 kB / 0.5714 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3524, allocations: 3.938 kB / 0.5714 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3524, allocations: 1.578 kB / 0.5714 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.3525, allocations: 8.828 kB / 0.5714 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3525, allocations: 1.594 kB / 0.5714 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.3526, allocations: 11.34 kB / 0.5714 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.3526, allocations: 0 / 0.5714 GB, free: 29.35 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 5.744e-05/0.3526, allocations: 114.7 kB / 0.5715 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.3527, allocations: 5.031 kB / 0.5715 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.3529, allocations: 73.03 kB / 0.5716 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3529, allocations: 1.062 kB / 0.5716 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3529, allocations: 0.8125 kB / 0.5716 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3529, allocations: 1.797 kB / 0.5716 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.3531, allocations: 161.5 kB / 0.5717 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3531, allocations: 1.312 kB / 0.5717 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.622e-05/0.3531, allocations: 12.22 kB / 0.5717 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3532, allocations: 1.125 kB / 0.5717 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.3532, allocations: 3.938 kB / 0.5718 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3532, allocations: 2.047 kB / 0.5718 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3532, allocations: 0 / 0.5718 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.3534, allocations: 164.9 kB / 0.5719 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.3534, allocations: 78.78 kB / 0.572 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3534, allocations: 1.781 kB / 0.572 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.3535, allocations: 7.062 kB / 0.572 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.3536, allocations: 2.406 kB / 0.572 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3536, allocations: 6.078 kB / 0.572 GB, free: 28.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.512e-05/0.3536, allocations: 83.72 kB / 0.5721 GB, free: 28.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3536, allocations: 1.188 kB / 0.5721 GB, free: 28.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.3539, allocations: 22.06 kB / 0.5721 GB, free: 28.66 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.0004588/0.3543, allocations: 0.7173 MB / 0.5728 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.3546, allocations: 34.7 kB / 0.5728 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3546, allocations: 2.906 kB / 0.5728 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.3547, allocations: 20.56 kB / 0.5729 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.3549, allocations: 9.156 kB / 0.5729 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.3552, allocations: 139.5 kB / 0.573 GB, free: 27.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.961e-05/0.3553, allocations: 0.6762 MB / 0.5737 GB, free: 27.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.997e-05/0.3554, allocations: 4.609 kB / 0.5737 GB, free: 27.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.3554, allocations: 11.05 kB / 0.5737 GB, free: 27.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3554, allocations: 1.344 kB / 0.5737 GB, free: 27.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.3715, allocations: 1.473 MB / 0.5751 GB, free: 26.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/7.856, allocations: 9.859 kB / 0.5751 GB, free: 26.79 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)