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.00462/0.00462, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001102/0.001102, allocations: 196.7 kB / 16.68 MB, free: 5.926 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002213/0.002213, allocations: 290.2 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9048/0.9048, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001968, allocations: 91.86 kB / 0.6809 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.434, allocations: 86.99 MB / 0.7659 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002393/0.4364, allocations: 1.327 MB / 0.7672 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1491/0.5855, allocations: 148.1 MB / 0.9118 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.5856, allocations: 0 / 0.9118 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 3.965e-05/0.5857, allocations: 3.984 kB / 0.9118 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.5858, allocations: 19.84 kB / 0.9118 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.5869, allocations: 330.6 kB / 0.9121 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.587, allocations: 63.77 kB / 0.9122 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.587, allocations: 6.812 kB / 0.9122 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.5871, allocations: 35.89 kB / 0.9122 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 9.783e-05/0.5872, allocations: 27.91 kB / 0.9123 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.5872, allocations: 0 / 0.9123 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009486/0.5882, allocations: 414.8 kB / 0.9127 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.5883, allocations: 15.92 kB / 0.9127 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.5883, allocations: 27.91 kB / 0.9127 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0004314/0.5887, allocations: 163.6 kB / 0.9129 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.5888, allocations: 0 / 0.9129 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5888, allocations: 0 / 0.9129 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.5888, allocations: 0 / 0.9129 GB, free: 12.75 MB / 0.6856 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.0005493/0.5893, allocations: 391.3 kB / 0.9132 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.5894, allocations: 8.031 kB / 0.9132 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.5894, allocations: 42.75 kB / 0.9133 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004294/0.5899, allocations: 32.89 kB / 0.9133 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.59, allocations: 180 kB / 0.9135 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.59, allocations: 4 kB / 0.9135 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.5901, allocations: 12 kB / 0.9135 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.5903, allocations: 77.64 kB / 0.9136 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.5903, allocations: 0 / 0.9136 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.5903, allocations: 0 / 0.9136 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.5903, allocations: 4 kB / 0.9136 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.388e-05/0.5904, allocations: 55.83 kB / 0.9136 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.5907, allocations: 189.4 kB / 0.9138 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.5909, allocations: 86.69 kB / 0.9139 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.549e-05/0.591, allocations: 32.84 kB / 0.9139 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/0.5912, allocations: 182.2 kB / 0.9141 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.5913, allocations: 38.83 kB / 0.9141 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 2.956e-06/0.5913, allocations: 0 / 0.9141 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001333/0.5926, allocations: 0.5417 MB / 0.9147 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.5926, allocations: 59.34 kB / 0.9147 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.355e-05/0.5927, allocations: 101.8 kB / 0.9148 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.5927, allocations: 33.7 kB / 0.9148 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.5928, allocations: 80.52 kB / 0.9149 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.5928, allocations: 70.94 kB / 0.915 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.5929, allocations: 41.7 kB / 0.915 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.593, allocations: 323 kB / 0.9153 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.375e-05/0.5931, allocations: 35.98 kB / 0.9154 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.78e-05/0.5932, allocations: 74.39 kB / 0.9154 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.5933, allocations: 115.3 kB / 0.9156 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5933, allocations: 0 / 0.9156 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002107/0.5936, allocations: 153.5 kB / 0.9157 GB, free: 9.496 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.5936, allocations: 4 kB / 0.9157 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5936, allocations: 7.984 kB / 0.9157 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.5936, allocations: 4 kB / 0.9157 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.5938, allocations: 40.05 kB / 0.9158 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.5938, allocations: 3.938 kB / 0.9158 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.68e-05/0.5939, allocations: 12 kB / 0.9158 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.5939, allocations: 4 kB / 0.9158 GB, free: 9.422 MB / 0.6856 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 0.0001002/0.594, allocations: 121.8 kB / 0.9159 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.594, allocations: 7.906 kB / 0.9159 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.5941, allocations: 24.44 kB / 0.9159 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.5941, allocations: 0 / 0.9159 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.5941, allocations: 3.938 kB / 0.9159 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.5941, allocations: 3.984 kB / 0.9159 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.5943, allocations: 193.6 kB / 0.9161 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5943, allocations: 0 / 0.9161 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.5945, allocations: 35.98 kB / 0.9161 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.5945, allocations: 0 / 0.9161 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.5945, allocations: 8 kB / 0.9162 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5945, allocations: 0 / 0.9162 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.5946, allocations: 3.938 kB / 0.9162 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.5949, allocations: 210.9 kB / 0.9164 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.022e-05/0.595, allocations: 97.06 kB / 0.9165 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.595, allocations: 3.938 kB / 0.9165 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.5951, allocations: 8 kB / 0.9165 GB, free: 8.625 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.5952, allocations: 15.86 kB / 0.9165 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.5952, allocations: 8 kB / 0.9165 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 5.125e-05/0.5952, allocations: 87.27 kB / 0.9166 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5952, allocations: 0 / 0.9166 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002367/0.5955, allocations: 24 kB / 0.9166 GB, free: 8.492 MB / 0.6856 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.0005601/0.596, allocations: 0.7469 MB / 0.9173 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.5963, allocations: 112.3 kB / 0.9174 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5963, allocations: 0 / 0.9174 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 7.666e-05/0.5963, allocations: 55.92 kB / 0.9175 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.5966, allocations: 20.06 kB / 0.9175 GB, free: 7.531 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.5984, allocations: 1.823 MB / 0.9193 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.5987, allocations: 0.7008 MB / 0.92 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.5988, allocations: 20.64 kB / 0.92 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.5989, allocations: 27.42 kB / 0.92 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of SimCode: time 3.11e-07/0.5989, allocations: 0 / 0.92 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.6185, allocations: 2.467 MB / 0.9224 GB, free: 2.465 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.106/7.724, allocations: 6.688 kB / 0.9224 GB, free: 2.461 MB / 0.6856 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)