Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_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.001504/0.001504, allocations: 108 kB / 15.61 MB, free: 152 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.001771/0.001771, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002214/0.002214, allocations: 282.3 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9116/0.9116, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 100.3 kB / 0.5953 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.15, allocations: 86.97 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002442/0.1525, allocations: 1.429 MB / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004512/0.153, allocations: 244.1 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.528e-05/0.153, allocations: 0.9688 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.1531, allocations: 3.938 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.686e-05/0.1531, allocations: 0.7188 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.1535, allocations: 55.83 kB / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.608e-05/0.1535, allocations: 32.72 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.37e-05/0.1536, allocations: 8.625 kB / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.308e-05/0.1536, allocations: 5.953 kB / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.1537, allocations: 15.92 kB / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1537, allocations: 4 kB / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1538, allocations: 55.89 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.1539, allocations: 4 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.1539, allocations: 15.91 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.154, allocations: 44.22 kB / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.154, allocations: 4 kB / 0.6822 GB, free: 14.67 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.154, allocations: 0 / 0.6822 GB, free: 14.67 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.154, allocations: 0 / 0.6822 GB, free: 14.67 MB / 494.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.0003746/0.1544, allocations: 347.3 kB / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1545, allocations: 12.03 kB / 0.6825 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.1545, allocations: 34.75 kB / 0.6825 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.138e-05/0.1545, allocations: 0.9375 kB / 0.6825 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.1546, allocations: 172.4 kB / 0.6827 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.1546, allocations: 4.312 kB / 0.6827 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.1547, allocations: 384 / 0.6827 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1548, allocations: 50.23 kB / 0.6827 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1548, allocations: 3.938 kB / 0.6827 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-06/0.1548, allocations: 0 / 0.6827 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1549, allocations: 3.938 kB / 0.6828 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.155, allocations: 31.97 kB / 0.6828 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.1553, allocations: 253 kB / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.1554, allocations: 42.44 kB / 0.6831 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.1555, allocations: 24.91 kB / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005867/0.1561, allocations: 453.5 kB / 0.6835 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1562, allocations: 30.56 kB / 0.6835 GB, free: 12.97 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1562, allocations: 0 / 0.6835 GB, free: 12.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003341/0.1565, allocations: 89.64 kB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.1565, allocations: 55.34 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.942e-05/0.1566, allocations: 105.8 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.1566, allocations: 25.7 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.1567, allocations: 84.12 kB / 0.6839 GB, free: 12.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.1567, allocations: 11.84 kB / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.1567, allocations: 13.72 kB / 0.6839 GB, free: 12.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.1568, allocations: 310.8 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.203e-05/0.1569, allocations: 20.02 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.44e-05/0.157, allocations: 19.97 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.1571, allocations: 32.83 kB / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1571, allocations: 3.938 kB / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002027/0.1573, allocations: 77.66 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1574, allocations: 4 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.1574, allocations: 0 / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1574, allocations: 4 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/0.1575, allocations: 7.984 kB / 0.6844 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1575, allocations: 3.938 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.1575, allocations: 4 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-06/0.1575, allocations: 0 / 0.6844 GB, free: 12.05 MB / 494.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 6.515e-05/0.1576, allocations: 122.5 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.1576, allocations: 0 / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.1579, allocations: 68.78 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1579, allocations: 4 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1579, allocations: 0 / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1579, allocations: 0 / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.158, allocations: 157.6 kB / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.158, allocations: 7.938 kB / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.1581, allocations: 16.02 kB / 0.6847 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1581, allocations: 0 / 0.6847 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.1581, allocations: 0 / 0.6847 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1581, allocations: 0 / 0.6847 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1581, allocations: 0 / 0.6847 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.1584, allocations: 171.4 kB / 0.6849 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.1584, allocations: 85.08 kB / 0.685 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.1584, allocations: 3.984 kB / 0.685 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.1585, allocations: 4 kB / 0.685 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.1585, allocations: 4 kB / 0.685 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.1585, allocations: 3.984 kB / 0.685 GB, free: 11.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.424e-05/0.1586, allocations: 83.28 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1586, allocations: 0 / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1588, allocations: 16 kB / 0.6851 GB, free: 11.22 MB / 494.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.0005198/0.1593, allocations: 0.7124 MB / 0.6858 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.1596, allocations: 40 kB / 0.6858 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1596, allocations: 0 / 0.6858 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.579e-05/0.1597, allocations: 23.91 kB / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.1599, allocations: 5.875 kB / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.1602, allocations: 139.4 kB / 0.686 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.1605, allocations: 0.6768 MB / 0.6867 GB, free: 9.531 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.96e-05/0.1605, allocations: 0 / 0.6867 GB, free: 9.531 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.1605, allocations: 7.438 kB / 0.6867 GB, free: 9.523 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1605, allocations: 3.938 kB / 0.6867 GB, free: 9.52 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07982/0.2403, allocations: 1.498 MB / 0.6881 GB, free: 8.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.161/8.402, allocations: 18.7 kB / 0.6881 GB, free: 8.078 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)