Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.001015/0.001015, allocations: 107.3 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.001033/0.001033, allocations: 192.4 kB / 16.25 MB, free: 6.145 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.197/1.197, allocations: 222.9 MB / 239.9 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001879/0.001879, allocations: 294.8 kB / 290.4 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8505/0.8505, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 91.91 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1246, allocations: 86.98 MB / 0.6797 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001543/0.1262, allocations: 0.6299 MB / 0.6804 GB, free: 268 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00035/0.1266, allocations: 196.8 kB / 0.6806 GB, free: 72 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-06/0.1266, allocations: 5.375 kB / 0.6806 GB, free: 68 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.095e-05/0.1266, allocations: 0 / 0.6806 GB, free: 68 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.917e-06/0.1266, allocations: 0 / 0.6806 GB, free: 68 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.1269, allocations: 43.89 kB / 0.6806 GB, free: 24 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 2.872e-05/0.1269, allocations: 8.625 kB / 0.6806 GB, free: 16 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.163e-05/0.127, allocations: 4 kB / 0.6806 GB, free: 12 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.838e-06/0.127, allocations: 0 / 0.6806 GB, free: 12 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.368e-05/0.127, allocations: 0 / 0.6806 GB, free: 12 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.309e-06/0.127, allocations: 0 / 0.6806 GB, free: 12 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1272, allocations: 71.86 kB / 0.6807 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.193e-06/0.1272, allocations: 0 / 0.6807 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.096e-05/0.1272, allocations: 3.938 kB / 0.6807 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.448e-05/0.1273, allocations: 35.94 kB / 0.6807 GB, free: 15.9 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.1273, allocations: 0 / 0.6807 GB, free: 15.9 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1273, allocations: 0 / 0.6807 GB, free: 15.9 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1273, allocations: 0 / 0.6807 GB, free: 15.9 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002324/0.1275, allocations: 319.6 kB / 0.681 GB, free: 15.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.1276, allocations: 12.03 kB / 0.681 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.62e-05/0.1276, allocations: 34.73 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.568e-05/0.1276, allocations: 0.9375 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.911e-05/0.1277, allocations: 164.3 kB / 0.6812 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.1277, allocations: 384 / 0.6812 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-06/0.1277, allocations: 384 / 0.6812 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.631e-05/0.1278, allocations: 30.27 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.1278, allocations: 3.938 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-06/0.1278, allocations: 4 kB / 0.6813 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-06/0.1278, allocations: 0 / 0.6813 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.309e-05/0.1278, allocations: 0 / 0.6813 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.128, allocations: 153.7 kB / 0.6814 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.683e-05/0.128, allocations: 18.52 kB / 0.6814 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.185e-05/0.128, allocations: 4.859 kB / 0.6814 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005714/0.1286, allocations: 457.6 kB / 0.6819 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.1286, allocations: 34.55 kB / 0.6819 GB, free: 14.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1286, allocations: 0 / 0.6819 GB, free: 14.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 9.553e-05/0.1287, allocations: 33.64 kB / 0.6819 GB, free: 14.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.1287, allocations: 55.41 kB / 0.682 GB, free: 14.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.474e-05/0.1288, allocations: 89.98 kB / 0.6821 GB, free: 14.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1288, allocations: 29.7 kB / 0.6821 GB, free: 14.19 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.078e-05/0.1288, allocations: 88.08 kB / 0.6822 GB, free: 14.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.1288, allocations: 4.219 kB / 0.6822 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.1289, allocations: 9.719 kB / 0.6822 GB, free: 14.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.1289, allocations: 314.8 kB / 0.6825 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-06/0.129, allocations: 7.922 kB / 0.6825 GB, free: 13.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.238e-06/0.129, allocations: 0 / 0.6825 GB, free: 13.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2e-05/0.129, allocations: 12.92 kB / 0.6825 GB, free: 13.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.129, allocations: 0 / 0.6825 GB, free: 13.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.547e-05/0.129, allocations: 33.7 kB / 0.6825 GB, free: 13.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.1291, allocations: 4 kB / 0.6826 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1291, allocations: 7.938 kB / 0.6826 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.1291, allocations: 0 / 0.6826 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.747e-05/0.1291, allocations: 0 / 0.6826 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.1291, allocations: 3.938 kB / 0.6826 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.059e-05/0.1291, allocations: 3.938 kB / 0.6826 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.1291, allocations: 3.984 kB / 0.6826 GB, free: 13.68 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 (1): * Single equations (assignments): 1 * 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.577e-05/0.1292, allocations: 114.5 kB / 0.6827 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-06/0.1292, allocations: 3.906 kB / 0.6827 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.1293, allocations: 40.77 kB / 0.6827 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1293, allocations: 0 / 0.6827 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1293, allocations: 0 / 0.6827 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.1293, allocations: 0 / 0.6827 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.803e-05/0.1294, allocations: 149.7 kB / 0.6829 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1294, allocations: 4 kB / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.398e-06/0.1294, allocations: 4.031 kB / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1294, allocations: 0 / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.1294, allocations: 3.938 kB / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1294, allocations: 0 / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1294, allocations: 4 kB / 0.6829 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.302e-05/0.1295, allocations: 61.06 kB / 0.6829 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.1295, allocations: 77.11 kB / 0.683 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-06/0.1295, allocations: 3.938 kB / 0.683 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-06/0.1295, allocations: 4.031 kB / 0.683 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-06/0.1295, allocations: 4 kB / 0.683 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.1295, allocations: 0 / 0.683 GB, free: 13.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.113e-05/0.1296, allocations: 75.28 kB / 0.6831 GB, free: 13.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1296, allocations: 3.938 kB / 0.6831 GB, free: 13.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001781/0.1298, allocations: 16 kB / 0.6831 GB, free: 13.02 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 (1): * Single equations (assignments): 1 * 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.0003243/0.1301, allocations: 0.6202 MB / 0.6837 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.855e-05/0.1301, allocations: 4 kB / 0.6837 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1302, allocations: 0 / 0.6837 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.36e-06/0.1302, allocations: 0 / 0.6837 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.1303, allocations: 8.156 kB / 0.6837 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/0.1305, allocations: 114.7 kB / 0.6838 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.1307, allocations: 0.669 MB / 0.6845 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.755e-06/0.1307, allocations: 0 / 0.6845 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.044e-05/0.1307, allocations: 11.44 kB / 0.6845 GB, free: 11.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1307, allocations: 3.938 kB / 0.6845 GB, free: 11.49 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.013/1.144, allocations: 1.052 MB / 0.6855 GB, free: 10.57 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/1.144, allocations: 218.9 kB / 0.6857 GB, free: 10.31 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.993, allocations: 0 / 0.6857 GB, free: 10.31 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)