Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.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.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",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.001203/0.001203, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001283/0.001284, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.259/1.259, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001976/0.001976, allocations: 287.2 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9075/0.9075, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 92.64 kB / 0.5946 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1334, allocations: 86.99 MB / 0.6795 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002095/0.1355, allocations: 1.38 MB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.388/0.5235, allocations: 145.8 MB / 0.8233 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.5235, allocations: 0 / 0.8233 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/0.5236, allocations: 8.219 kB / 0.8233 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.26e-05/0.5237, allocations: 10.72 kB / 0.8233 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006998/0.5244, allocations: 304.3 kB / 0.8236 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.092e-05/0.5245, allocations: 84.45 kB / 0.8237 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.5245, allocations: 6.141 kB / 0.8237 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.542e-05/0.5246, allocations: 33.06 kB / 0.8237 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.5247, allocations: 36.66 kB / 0.8237 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.5247, allocations: 2.562 kB / 0.8237 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008513/0.5255, allocations: 0.4942 MB / 0.8242 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.5256, allocations: 13.72 kB / 0.8242 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.5256, allocations: 31.17 kB / 0.8243 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.526, allocations: 183.2 kB / 0.8244 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.526, allocations: 0 / 0.8244 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.526, allocations: 3.938 kB / 0.8244 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.526, allocations: 4.625 kB / 0.8244 GB, free: 1 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004115/0.5264, allocations: 383.3 kB / 0.8248 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.5265, allocations: 9.875 kB / 0.8248 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.5265, allocations: 39.02 kB / 0.8248 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/0.5269, allocations: 41.11 kB / 0.8249 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.229e-05/0.527, allocations: 162.4 kB / 0.825 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.527, allocations: 10.22 kB / 0.8251 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.5271, allocations: 16.69 kB / 0.8251 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.5272, allocations: 79.28 kB / 0.8251 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.5272, allocations: 1 kB / 0.8251 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.5273, allocations: 5.156 kB / 0.8251 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.5273, allocations: 1 kB / 0.8251 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.5274, allocations: 48.95 kB / 0.8252 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.5275, allocations: 185.5 kB / 0.8254 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.5277, allocations: 96.77 kB / 0.8255 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.5278, allocations: 29.44 kB / 0.8255 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.528, allocations: 176.6 kB / 0.8257 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.528, allocations: 38.95 kB / 0.8257 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.528, allocations: 0.5312 kB / 0.8257 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001199/0.5292, allocations: 0.5416 MB / 0.8262 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.5293, allocations: 58.44 kB / 0.8263 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.655e-05/0.5293, allocations: 98.19 kB / 0.8264 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.5294, allocations: 31.11 kB / 0.8264 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.5294, allocations: 89.2 kB / 0.8265 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.5294, allocations: 64.47 kB / 0.8266 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.5295, allocations: 42.14 kB / 0.8266 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.311e-05/0.5296, allocations: 319.1 kB / 0.8269 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.736e-05/0.5296, allocations: 36.33 kB / 0.8269 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-05/0.5297, allocations: 69.41 kB / 0.827 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.5298, allocations: 123.8 kB / 0.8271 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5299, allocations: 1.219 kB / 0.8271 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001915/0.5301, allocations: 152 kB / 0.8273 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.5301, allocations: 4.438 kB / 0.8273 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.5301, allocations: 1.125 kB / 0.8273 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.5301, allocations: 2.469 kB / 0.8273 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.5303, allocations: 43.05 kB / 0.8273 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5303, allocations: 6.188 kB / 0.8273 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.243e-05/0.5303, allocations: 8.688 kB / 0.8273 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.5303, allocations: 9.75 kB / 0.8273 GB, free: 14.82 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 7.507e-05/0.5304, allocations: 124.5 kB / 0.8275 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.5304, allocations: 8.625 kB / 0.8275 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/0.5305, allocations: 23.27 kB / 0.8275 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5305, allocations: 2.312 kB / 0.8275 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5305, allocations: 0 / 0.8275 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5305, allocations: 7.422 kB / 0.8275 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.5306, allocations: 191.6 kB / 0.8277 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5307, allocations: 1.062 kB / 0.8277 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.5308, allocations: 42.89 kB / 0.8277 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.5308, allocations: 7.062 kB / 0.8277 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.5309, allocations: 1.031 kB / 0.8277 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5309, allocations: 1.125 kB / 0.8277 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5309, allocations: 0 / 0.8277 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.5311, allocations: 208.9 kB / 0.8279 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.53e-05/0.5312, allocations: 91.12 kB / 0.828 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.5312, allocations: 6.344 kB / 0.828 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.5314, allocations: 12.41 kB / 0.828 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.5314, allocations: 13.98 kB / 0.828 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.5314, allocations: 9.25 kB / 0.8281 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.697e-05/0.5314, allocations: 76.53 kB / 0.8281 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5314, allocations: 3.938 kB / 0.8281 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002109/0.5317, allocations: 25.38 kB / 0.8282 GB, free: 14.23 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0004662/0.5321, allocations: 0.7506 MB / 0.8289 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001706/0.5323, allocations: 110.3 kB / 0.829 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5323, allocations: 3.938 kB / 0.829 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.444e-05/0.5324, allocations: 56.67 kB / 0.829 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.5326, allocations: 15.5 kB / 0.8291 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.5342, allocations: 1.846 MB / 0.8309 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.5344, allocations: 0.6996 MB / 0.8316 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001242/0.5345, allocations: 20.91 kB / 0.8316 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.5345, allocations: 26.53 kB / 0.8316 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of SimCode: time 2.01e-07/0.5345, allocations: 0 / 0.8316 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01113/0.5457, allocations: 2.25 MB / 0.8338 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/0.5459, allocations: 205.4 kB / 0.834 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.204, allocations: 2.672 kB / 0.834 GB, free: 10.9 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)