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.0007334/0.0007335, allocations: 90.92 kB / 15.35 MB, free: 0.7422 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.003902/0.003902, allocations: 180.5 kB / 16.26 MB, free: 6.605 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.206/1.206, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001677/0.001677, allocations: 274.8 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8667/0.8667, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004091, allocations: 18.66 kB / 0.5988 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1319, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.0005655/0.1325, allocations: 310 kB / 0.6855 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000382/0.1329, allocations: 197.3 kB / 0.6857 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.714e-06/0.1329, allocations: 0 / 0.6857 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.029e-05/0.1329, allocations: 0 / 0.6857 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.417e-06/0.133, allocations: 2.562 kB / 0.6857 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.1332, allocations: 39.89 kB / 0.6858 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.854e-05/0.1332, allocations: 8 kB / 0.6858 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.128e-05/0.1333, allocations: 3.938 kB / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.694e-05/0.1333, allocations: 0 / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.423e-05/0.1333, allocations: 0 / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.099e-06/0.1333, allocations: 0 / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1335, allocations: 72.5 kB / 0.6858 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.771e-06/0.1335, allocations: 1.156 kB / 0.6858 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.1335, allocations: 29.69 kB / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.36e-05/0.1336, allocations: 27.95 kB / 0.6859 GB, free: 14.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1336, allocations: 0.5625 kB / 0.6859 GB, free: 14.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1336, allocations: 0 / 0.6859 GB, free: 14.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.866e-06/0.1336, allocations: 0.5312 kB / 0.6859 GB, free: 14.27 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.0002013/0.1338, allocations: 313.6 kB / 0.6862 GB, free: 13.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1339, allocations: 12.03 kB / 0.6862 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.718e-05/0.1339, allocations: 38.73 kB / 0.6862 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.521e-05/0.1339, allocations: 0.9375 kB / 0.6862 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.537e-05/0.134, allocations: 165 kB / 0.6864 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.134, allocations: 4.312 kB / 0.6864 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.134, allocations: 3.812 kB / 0.6864 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.47e-05/0.1341, allocations: 30.27 kB / 0.6864 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.1341, allocations: 3.938 kB / 0.6864 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.1341, allocations: 0 / 0.6864 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1341, allocations: 3.938 kB / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.342e-05/0.1341, allocations: 0 / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.1343, allocations: 153.7 kB / 0.6866 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.157e-05/0.1343, allocations: 19.55 kB / 0.6866 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.304e-05/0.1343, allocations: 7.266 kB / 0.6866 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005731/0.1349, allocations: 449.6 kB / 0.6871 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.1349, allocations: 39.8 kB / 0.6871 GB, free: 12.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.1349, allocations: 0 / 0.6871 GB, free: 12.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 9.299e-05/0.135, allocations: 39.3 kB / 0.6871 GB, free: 12.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.1351, allocations: 51.41 kB / 0.6872 GB, free: 12.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.669e-05/0.1351, allocations: 93.8 kB / 0.6873 GB, free: 12.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.1351, allocations: 28.7 kB / 0.6873 GB, free: 12.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.1e-05/0.1351, allocations: 80.14 kB / 0.6874 GB, free: 12.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.1352, allocations: 288 / 0.6874 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/0.1352, allocations: 9.719 kB / 0.6874 GB, free: 12.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.1353, allocations: 314.8 kB / 0.6877 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.031e-06/0.1353, allocations: 4 kB / 0.6877 GB, free: 12.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-06/0.1353, allocations: 4.766 kB / 0.6877 GB, free: 12.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.952e-05/0.1353, allocations: 10.58 kB / 0.6877 GB, free: 12.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1353, allocations: 0 / 0.6877 GB, free: 12.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.14e-05/0.1354, allocations: 29.7 kB / 0.6877 GB, free: 12.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.1354, allocations: 4 kB / 0.6877 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1354, allocations: 4.594 kB / 0.6877 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/0.1354, allocations: 0 / 0.6877 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.796e-05/0.1354, allocations: 8.562 kB / 0.6877 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.1354, allocations: 0.875 kB / 0.6877 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.1355, allocations: 3.938 kB / 0.6877 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.1355, allocations: 0.5312 kB / 0.6877 GB, free: 12.07 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 5.973e-05/0.1355, allocations: 119.5 kB / 0.6879 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-06/0.1355, allocations: 0 / 0.6879 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.1356, allocations: 41.73 kB / 0.6879 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1356, allocations: 0 / 0.6879 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1356, allocations: 256 / 0.6879 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-06/0.1356, allocations: 4 kB / 0.6879 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.028e-05/0.1357, allocations: 149.7 kB / 0.688 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1357, allocations: 4 kB / 0.6881 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.004e-05/0.1357, allocations: 3.938 kB / 0.6881 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1357, allocations: 3.938 kB / 0.6881 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-06/0.1357, allocations: 3.938 kB / 0.6881 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1357, allocations: 3.938 kB / 0.6881 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1358, allocations: 0 / 0.6881 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.093e-05/0.1358, allocations: 65.12 kB / 0.6881 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.1358, allocations: 77.11 kB / 0.6882 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.1359, allocations: 3.938 kB / 0.6882 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-06/0.1359, allocations: 0 / 0.6882 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-06/0.1359, allocations: 3.984 kB / 0.6882 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.1359, allocations: 4 kB / 0.6882 GB, free: 11.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 1.862e-05/0.1359, allocations: 75.28 kB / 0.6883 GB, free: 11.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1359, allocations: 0 / 0.6883 GB, free: 11.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001868/0.1361, allocations: 12 kB / 0.6883 GB, free: 11.41 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.0003247/0.1364, allocations: 0.6241 MB / 0.6889 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.139e-05/0.1365, allocations: 12.03 kB / 0.6889 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1365, allocations: 0 / 0.6889 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.98e-06/0.1365, allocations: 0 / 0.6889 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.1366, allocations: 7.797 kB / 0.6889 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002214/0.1369, allocations: 112.4 kB / 0.689 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.137, allocations: 0.6692 MB / 0.6897 GB, free: 9.891 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.516e-06/0.137, allocations: 3.938 kB / 0.6897 GB, free: 9.887 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.122e-05/0.1371, allocations: 11.44 kB / 0.6897 GB, free: 9.875 MB / 494.1 MB Notification: Performance of SimCode: time 3.106e-06/0.1371, allocations: 0 / 0.6897 GB, free: 9.875 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5779/0.715, allocations: 0.9633 MB / 0.6906 GB, free: 9.047 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.7152, allocations: 220.7 kB / 0.6909 GB, free: 8.789 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.463/2.178, allocations: 0 / 0.6909 GB, free: 8.789 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)