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.00137/0.00137, allocations: 99.62 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.001719/0.001719, 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.53/1.53, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003017/0.003017, allocations: 274.7 kB / 291.2 MB, free: 2.012 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.8816/0.8816, allocations: 144.6 MB / 487 MB, free: 7.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004131, allocations: 13.03 kB / 0.5684 GB, free: 38.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1456, allocations: 83.09 MB / 0.6495 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.001448/0.1471, allocations: 1.142 MB / 0.6507 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004119/0.1475, allocations: 224.7 kB / 0.6509 GB, free: 2.113 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.1476, allocations: 4.5 kB / 0.6509 GB, free: 2.109 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.193e-05/0.1476, allocations: 1.062 kB / 0.6509 GB, free: 2.109 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.947e-05/0.1476, allocations: 4 kB / 0.6509 GB, free: 2.105 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.1479, allocations: 43.88 kB / 0.6509 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.387e-05/0.148, allocations: 13.5 kB / 0.6509 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.769e-05/0.148, allocations: 3.984 kB / 0.6509 GB, free: 2.047 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.45e-05/0.1481, allocations: 11.98 kB / 0.6509 GB, free: 2.035 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.578e-05/0.1481, allocations: 13.11 kB / 0.651 GB, free: 2.023 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.104e-06/0.1481, allocations: 0 / 0.651 GB, free: 2.023 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.1483, allocations: 59.17 kB / 0.651 GB, free: 1.969 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.633e-06/0.1483, allocations: 0 / 0.651 GB, free: 1.969 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.1483, allocations: 29.7 kB / 0.651 GB, free: 1.934 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.742e-05/0.1484, allocations: 39.86 kB / 0.6511 GB, free: 1.895 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.1484, allocations: 0 / 0.6511 GB, free: 1.895 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1484, allocations: 0 / 0.6511 GB, free: 1.895 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.1484, allocations: 0 / 0.6511 GB, free: 1.895 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.0004189/0.1488, allocations: 349.2 kB / 0.6514 GB, free: 1.508 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1489, allocations: 8.031 kB / 0.6514 GB, free: 1.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.1489, allocations: 30.56 kB / 0.6514 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.997e-05/0.149, allocations: 0.6562 kB / 0.6514 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1491, allocations: 175.3 kB / 0.6516 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1491, allocations: 4.484 kB / 0.6516 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.1491, allocations: 0.625 kB / 0.6516 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.1493, allocations: 52.34 kB / 0.6517 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1493, allocations: 0 / 0.6517 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1494, allocations: 3.984 kB / 0.6517 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1494, allocations: 4 kB / 0.6517 GB, free: 1.184 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.1495, allocations: 49.97 kB / 0.6517 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.1499, allocations: 254.4 kB / 0.652 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.15, allocations: 36.78 kB / 0.652 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006513/0.1507, allocations: 456.2 kB / 0.6524 GB, free: 268 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.1507, allocations: 34.55 kB / 0.6525 GB, free: 224 kB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.1507, allocations: 0 / 0.6525 GB, free: 224 kB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003578/0.1511, allocations: 101.2 kB / 0.6526 GB, free: 120 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.1511, allocations: 60.02 kB / 0.6526 GB, free: 48 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.779e-05/0.1512, allocations: 98.45 kB / 0.6527 GB, free: 15.94 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.1513, allocations: 29.64 kB / 0.6527 GB, free: 15.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.1513, allocations: 80.89 kB / 0.6528 GB, free: 15.82 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.1513, allocations: 3.906 kB / 0.6528 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.1513, allocations: 1.719 kB / 0.6528 GB, free: 15.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1515, allocations: 326.8 kB / 0.6531 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.331e-05/0.1516, allocations: 17.64 kB / 0.6532 GB, free: 15.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.355e-05/0.1517, allocations: 25.17 kB / 0.6532 GB, free: 15.45 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.741e-05/0.1517, allocations: 18.64 kB / 0.6532 GB, free: 15.44 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1517, allocations: 0 / 0.6532 GB, free: 15.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.1519, allocations: 80.12 kB / 0.6533 GB, free: 15.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.152, allocations: 8 kB / 0.6533 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.152, allocations: 0 / 0.6533 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.152, allocations: 0 / 0.6533 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.508e-05/0.1521, allocations: 12.77 kB / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1521, allocations: 0.875 kB / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.1521, allocations: 16.2 kB / 0.6533 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.1522, allocations: 4 kB / 0.6533 GB, free: 15.32 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 8.354e-05/0.1523, allocations: 109.8 kB / 0.6534 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.1523, allocations: 4.188 kB / 0.6534 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.1525, allocations: 88.7 kB / 0.6535 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1525, allocations: 4 kB / 0.6535 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1525, allocations: 0 / 0.6535 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1525, allocations: 0 / 0.6535 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.1527, allocations: 161.6 kB / 0.6537 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1527, allocations: 0 / 0.6537 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.1528, allocations: 8 kB / 0.6537 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1528, allocations: 0 / 0.6537 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1528, allocations: 3.984 kB / 0.6537 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1528, allocations: 4 kB / 0.6537 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1528, allocations: 4.031 kB / 0.6537 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.1531, allocations: 167.4 kB / 0.6538 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.1531, allocations: 89.09 kB / 0.6539 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.1531, allocations: 0 / 0.6539 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.1532, allocations: 11.94 kB / 0.6539 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.1532, allocations: 7.922 kB / 0.654 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1533, allocations: 4 kB / 0.654 GB, free: 14.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.467e-05/0.1533, allocations: 83.22 kB / 0.654 GB, free: 14.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1533, allocations: 0 / 0.654 GB, free: 14.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.1535, allocations: 20 kB / 0.6541 GB, free: 14.46 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.0005632/0.1541, allocations: 0.7242 MB / 0.6548 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.1543, allocations: 51.95 kB / 0.6548 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1543, allocations: 8 kB / 0.6548 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.679e-05/0.1544, allocations: 19.98 kB / 0.6548 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.1546, allocations: 0 / 0.6548 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.1549, allocations: 142.3 kB / 0.655 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.1552, allocations: 0.6849 MB / 0.6556 GB, free: 12.74 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.933e-05/0.1552, allocations: 0 / 0.6556 GB, free: 12.74 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.1552, allocations: 11.44 kB / 0.6557 GB, free: 12.73 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1552, allocations: 0 / 0.6557 GB, free: 12.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00987/0.1651, allocations: 1.24 MB / 0.6569 GB, free: 11.62 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.1653, allocations: 186.2 kB / 0.657 GB, free: 11.37 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/1.926, allocations: 0 / 0.657 GB, free: 11.37 MB / 462.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/linux/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) Environment - environmentSimulation: