Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_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.00103/0.00103, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001314/0.001314, allocations: 193.2 kB / 16.25 MB, free: 6.625 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.268/1.268, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002006/0.002007, allocations: 290.5 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9325/0.9325, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 102 kB / 0.5948 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1597, allocations: 86.98 MB / 0.6797 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002728/0.1625, allocations: 1.485 MB / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004884/0.163, allocations: 254.5 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.328e-05/0.163, allocations: 0 / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.1631, allocations: 0 / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.522e-05/0.1631, allocations: 0 / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.1635, allocations: 54.72 kB / 0.6815 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.166e-05/0.1635, allocations: 31.84 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.298e-05/0.1636, allocations: 4 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.98e-05/0.1637, allocations: 11.98 kB / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.845e-05/0.1637, allocations: 15.92 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.1637, allocations: 3.938 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1639, allocations: 67.88 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.1639, allocations: 0.7812 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.1639, allocations: 15.92 kB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.1641, allocations: 53.86 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1641, allocations: 0 / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.1641, allocations: 0 / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1641, allocations: 3.938 kB / 0.6817 GB, free: 14.95 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.0004328/0.1645, allocations: 344.3 kB / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1646, allocations: 8.625 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.1646, allocations: 35.81 kB / 0.682 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.1647, allocations: 4.938 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1648, allocations: 168.4 kB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1648, allocations: 5.375 kB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.1648, allocations: 4.375 kB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.165, allocations: 50.77 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.165, allocations: 7.938 kB / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.165, allocations: 0 / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.165, allocations: 0 / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.1652, allocations: 35.89 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.1655, allocations: 241 kB / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.1656, allocations: 50.48 kB / 0.6826 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.036e-05/0.1657, allocations: 21.42 kB / 0.6826 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000655/0.1664, allocations: 453.5 kB / 0.683 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.1664, allocations: 42.56 kB / 0.6831 GB, free: 13.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1664, allocations: 3.938 kB / 0.6831 GB, free: 13.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000317/0.1667, allocations: 77.55 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.1668, allocations: 55.41 kB / 0.6832 GB, free: 13.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.874e-05/0.1668, allocations: 97.86 kB / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1668, allocations: 29.83 kB / 0.6833 GB, free: 12.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.1669, allocations: 84.12 kB / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.1669, allocations: 11.84 kB / 0.6834 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.1669, allocations: 13.72 kB / 0.6834 GB, free: 12.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.167, allocations: 310.8 kB / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.688e-05/0.1671, allocations: 19.98 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.1672, allocations: 15.97 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.1673, allocations: 44.83 kB / 0.6838 GB, free: 12.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1673, allocations: 3.938 kB / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001694/0.1675, allocations: 65.66 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1675, allocations: 10.19 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1675, allocations: 0 / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1676, allocations: 0 / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-05/0.1676, allocations: 19.89 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1677, allocations: 0 / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.1677, allocations: 4 kB / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1677, allocations: 4 kB / 0.6839 GB, free: 12.33 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.442e-05/0.1678, allocations: 114.4 kB / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.1678, allocations: 0 / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.168, allocations: 80.72 kB / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.168, allocations: 0 / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.168, allocations: 0 / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.168, allocations: 0 / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.1682, allocations: 157.6 kB / 0.6843 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1682, allocations: 0 / 0.6843 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.1683, allocations: 11.98 kB / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1683, allocations: 0 / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1683, allocations: 0 / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1683, allocations: 3.984 kB / 0.6843 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1683, allocations: 4.031 kB / 0.6843 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.1685, allocations: 171.3 kB / 0.6844 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.1685, allocations: 77.11 kB / 0.6845 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.1686, allocations: 12.17 kB / 0.6845 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.1686, allocations: 4 kB / 0.6845 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.1687, allocations: 8.016 kB / 0.6845 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1687, allocations: 3.984 kB / 0.6845 GB, free: 11.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.306e-05/0.1687, allocations: 83.28 kB / 0.6846 GB, free: 11.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1687, allocations: 0 / 0.6846 GB, free: 11.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.1689, allocations: 16 kB / 0.6846 GB, free: 11.5 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.0005317/0.1695, allocations: 0.7124 MB / 0.6853 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.1697, allocations: 35.91 kB / 0.6854 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1697, allocations: 96 / 0.6854 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.982e-05/0.1698, allocations: 27.97 kB / 0.6854 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.17, allocations: 0 / 0.6854 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.1704, allocations: 139.3 kB / 0.6855 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.1706, allocations: 0.6768 MB / 0.6862 GB, free: 9.812 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.472e-05/0.1706, allocations: 4 kB / 0.6862 GB, free: 9.809 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.1707, allocations: 19.44 kB / 0.6862 GB, free: 9.789 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1707, allocations: 0 / 0.6862 GB, free: 9.789 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01058/0.1812, allocations: 1.367 MB / 0.6875 GB, free: 8.535 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.1815, allocations: 198.3 kB / 0.6877 GB, free: 8.281 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/1.823, allocations: 0 / 0.6877 GB, free: 8.281 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)