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.00116/0.00116, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001134/0.001134, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001721/0.001721, allocations: 266.7 kB / 291.2 MB, free: 1.98 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9083/0.9083, allocations: 144.6 MB / 487 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000572/0.0005722, allocations: 15.47 kB / 0.5684 GB, free: 38.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1368, allocations: 83.09 MB / 0.6495 GB, free: 3.465 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.001277/0.1381, allocations: 1.142 MB / 0.6507 GB, free: 2.312 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004014/0.1385, allocations: 234.3 kB / 0.6509 GB, free: 2.086 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.912e-05/0.1386, allocations: 4 kB / 0.6509 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.221e-05/0.1386, allocations: 0 / 0.6509 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.363e-05/0.1386, allocations: 4 kB / 0.6509 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.1389, allocations: 47.81 kB / 0.6509 GB, free: 2.031 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.218e-05/0.1389, allocations: 8 kB / 0.6509 GB, free: 2.023 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.191e-05/0.139, allocations: 5.547 kB / 0.6509 GB, free: 2.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.476e-05/0.139, allocations: 15.92 kB / 0.651 GB, free: 2.004 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.827e-05/0.1391, allocations: 4 kB / 0.651 GB, free: 2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.304e-06/0.1391, allocations: 0 / 0.651 GB, free: 2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.1392, allocations: 64.38 kB / 0.651 GB, free: 1.938 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.1392, allocations: 8.484 kB / 0.651 GB, free: 1.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.1393, allocations: 30.3 kB / 0.6511 GB, free: 1.895 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.489e-05/0.1394, allocations: 27.94 kB / 0.6511 GB, free: 1.867 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.1394, allocations: 0.5312 kB / 0.6511 GB, free: 1.867 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1394, allocations: 0.5 kB / 0.6511 GB, free: 1.867 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1394, allocations: 0 / 0.6511 GB, free: 1.867 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.0003618/0.1398, allocations: 349.6 kB / 0.6514 GB, free: 1.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.1398, allocations: 8.031 kB / 0.6514 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.803e-05/0.1398, allocations: 31.06 kB / 0.6515 GB, free: 1.434 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.902e-05/0.1398, allocations: 4.594 kB / 0.6515 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.744e-05/0.1399, allocations: 175.2 kB / 0.6516 GB, free: 1.219 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.14, allocations: 5.328 kB / 0.6516 GB, free: 1.215 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.14, allocations: 8 kB / 0.6516 GB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1401, allocations: 51.08 kB / 0.6517 GB, free: 1.152 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.819e-06/0.1402, allocations: 0 / 0.6517 GB, free: 1.152 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1402, allocations: 4.719 kB / 0.6517 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1402, allocations: 0 / 0.6517 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.1403, allocations: 42.97 kB / 0.6517 GB, free: 1.109 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.1406, allocations: 249.6 kB / 0.652 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.1407, allocations: 44.44 kB / 0.652 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005984/0.1413, allocations: 464.5 kB / 0.6525 GB, free: 228 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.1414, allocations: 30.56 kB / 0.6525 GB, free: 188 kB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1414, allocations: 0.9062 kB / 0.6525 GB, free: 188 kB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003204/0.1417, allocations: 104.4 kB / 0.6526 GB, free: 80 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.1417, allocations: 61.25 kB / 0.6526 GB, free: 8 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.1418, allocations: 97.86 kB / 0.6527 GB, free: 15.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.1418, allocations: 25.7 kB / 0.6528 GB, free: 15.87 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.1419, allocations: 84.12 kB / 0.6528 GB, free: 15.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.1419, allocations: 9.25 kB / 0.6529 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.1419, allocations: 4 kB / 0.6529 GB, free: 15.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.142, allocations: 314.8 kB / 0.6532 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.832e-05/0.1421, allocations: 18.7 kB / 0.6532 GB, free: 15.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.129e-05/0.1422, allocations: 28.62 kB / 0.6532 GB, free: 15.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.317e-05/0.1423, allocations: 19.55 kB / 0.6532 GB, free: 15.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1423, allocations: 0 / 0.6532 GB, free: 15.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000182/0.1425, allocations: 74.42 kB / 0.6533 GB, free: 15.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1425, allocations: 13.55 kB / 0.6533 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1425, allocations: 0.6562 kB / 0.6533 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.1425, allocations: 1.062 kB / 0.6533 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.494e-05/0.1426, allocations: 8 kB / 0.6533 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1426, allocations: 4.156 kB / 0.6533 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/0.1427, allocations: 19.98 kB / 0.6533 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.1427, allocations: 0 / 0.6533 GB, free: 15.28 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.9e-05/0.1427, allocations: 109.8 kB / 0.6534 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.1428, allocations: 4 kB / 0.6534 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.143, allocations: 88.77 kB / 0.6535 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.143, allocations: 0 / 0.6535 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.143, allocations: 0 / 0.6535 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.143, allocations: 0 / 0.6535 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.1432, allocations: 161.6 kB / 0.6537 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1432, allocations: 0 / 0.6537 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.1433, allocations: 11.98 kB / 0.6537 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1433, allocations: 4.031 kB / 0.6537 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.1433, allocations: 0 / 0.6537 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1433, allocations: 4 kB / 0.6537 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1433, allocations: 3.938 kB / 0.6537 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.1436, allocations: 179.4 kB / 0.6539 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.1436, allocations: 81.06 kB / 0.654 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.1437, allocations: 0 / 0.654 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.1437, allocations: 11.98 kB / 0.654 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.1438, allocations: 192 / 0.654 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.1438, allocations: 0 / 0.654 GB, free: 14.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.937e-05/0.1438, allocations: 91.25 kB / 0.6541 GB, free: 14.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1439, allocations: 4.031 kB / 0.6541 GB, free: 14.44 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1441, allocations: 20 kB / 0.6541 GB, free: 14.42 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006295/0.1447, allocations: 0.7201 MB / 0.6548 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.145, allocations: 51.98 kB / 0.6548 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.145, allocations: 0 / 0.6548 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.915e-05/0.1451, allocations: 19.98 kB / 0.6548 GB, free: 13.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.1452, allocations: 8 kB / 0.6549 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.1456, allocations: 146.4 kB / 0.655 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.1459, allocations: 0.6848 MB / 0.6557 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.852e-05/0.1459, allocations: 0 / 0.6557 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.146, allocations: 7.438 kB / 0.6557 GB, free: 12.69 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.146, allocations: 0 / 0.6557 GB, free: 12.69 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1792/0.3252, allocations: 1.247 MB / 0.6569 GB, free: 11.57 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/0.3255, allocations: 187.8 kB / 0.6571 GB, free: 11.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.215, allocations: 0 / 0.6571 GB, free: 11.32 MB / 462.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/linux/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) Environment - environmentSimulation: