Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",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.006222/0.006222, allocations: 105.6 kB / 15.74 MB, free: 6.035 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.00116/0.00116, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9978/0.9978, allocations: 143 MB / 433.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.89 kB / 0.595 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4286, allocations: 82.03 MB / 0.6751 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002386/0.431, allocations: 1.273 MB / 0.6764 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1534/0.5845, allocations: 147 MB / 0.8199 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.5847, allocations: 4 kB / 0.8199 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.5847, allocations: 7.922 kB / 0.8199 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.5848, allocations: 3.984 kB / 0.82 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.5852, allocations: 91.56 kB / 0.82 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.059e-05/0.5853, allocations: 35.86 kB / 0.8201 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.5854, allocations: 3.984 kB / 0.8201 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.5854, allocations: 15.92 kB / 0.8201 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.35e-05/0.5855, allocations: 15.98 kB / 0.8201 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.5855, allocations: 4 kB / 0.8201 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.5858, allocations: 75.83 kB / 0.8202 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.5859, allocations: 11.92 kB / 0.8202 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.5859, allocations: 15.94 kB / 0.8202 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.5861, allocations: 70.11 kB / 0.8203 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5861, allocations: 0 / 0.8203 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5861, allocations: 0 / 0.8203 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.5861, allocations: 0 / 0.8203 GB, free: 1.309 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004032/0.5865, allocations: 351.5 kB / 0.8206 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.5866, allocations: 15.97 kB / 0.8206 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.5866, allocations: 38.73 kB / 0.8207 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.5868, allocations: 12.84 kB / 0.8207 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.587, allocations: 168.1 kB / 0.8208 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.587, allocations: 4 kB / 0.8208 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.587, allocations: 7.984 kB / 0.8208 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.5872, allocations: 49.69 kB / 0.8209 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.5872, allocations: 0 / 0.8209 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.5872, allocations: 3.938 kB / 0.8209 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.5872, allocations: 12 kB / 0.8209 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.032e-05/0.5873, allocations: 19.92 kB / 0.8209 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.5875, allocations: 169.5 kB / 0.8211 GB, free: 332 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.752e-05/0.5876, allocations: 46.56 kB / 0.8211 GB, free: 276 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.5876, allocations: 16.86 kB / 0.8212 GB, free: 256 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.5876, allocations: 0 / 0.8212 GB, free: 256 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.5876, allocations: 34.56 kB / 0.8212 GB, free: 212 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.5877, allocations: 0 / 0.8212 GB, free: 212 kB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0007758/0.5884, allocations: 382.2 kB / 0.8215 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.5885, allocations: 59.41 kB / 0.8216 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.067e-05/0.5886, allocations: 89.86 kB / 0.8217 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.5886, allocations: 25.7 kB / 0.8217 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.5886, allocations: 96.27 kB / 0.8218 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.5887, allocations: 35.45 kB / 0.8218 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.5887, allocations: 29.7 kB / 0.8219 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.5888, allocations: 314.8 kB / 0.8222 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.751e-05/0.5889, allocations: 23.98 kB / 0.8222 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.509e-05/0.5889, allocations: 33.08 kB / 0.8222 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.349e-05/0.589, allocations: 65.64 kB / 0.8223 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.589, allocations: 4 kB / 0.8223 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001388/0.5892, allocations: 93.58 kB / 0.8224 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.5892, allocations: 4 kB / 0.8224 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.5892, allocations: 4.703 kB / 0.8224 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5892, allocations: 0 / 0.8224 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.5893, allocations: 19.94 kB / 0.8224 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.5894, allocations: 4 kB / 0.8224 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.593e-05/0.5894, allocations: 4 kB / 0.8224 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.5894, allocations: 11.92 kB / 0.8224 GB, free: 14.82 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 8.075e-05/0.5895, allocations: 117.8 kB / 0.8225 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.5895, allocations: 0 / 0.8225 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.5896, allocations: 11.97 kB / 0.8225 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5896, allocations: 4 kB / 0.8226 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5896, allocations: 0 / 0.8226 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.5896, allocations: 0 / 0.8226 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.5897, allocations: 181.5 kB / 0.8227 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5897, allocations: 0 / 0.8227 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.5898, allocations: 23.92 kB / 0.8227 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5899, allocations: 0 / 0.8227 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.5899, allocations: 4 kB / 0.8228 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5899, allocations: 4 kB / 0.8228 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5899, allocations: 0 / 0.8228 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.5901, allocations: 140.9 kB / 0.8229 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.5902, allocations: 85.05 kB / 0.823 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.5902, allocations: 12 kB / 0.823 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-05/0.5903, allocations: 0 / 0.823 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.5903, allocations: 15.86 kB / 0.823 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.5903, allocations: 12 kB / 0.823 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.985e-05/0.5904, allocations: 79.22 kB / 0.8231 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5904, allocations: 0 / 0.8231 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002176/0.5906, allocations: 16 kB / 0.8231 GB, free: 14.04 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0004486/0.591, allocations: 0.6558 MB / 0.8237 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.5912, allocations: 67.84 kB / 0.8238 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/0.5912, allocations: 4 kB / 0.8238 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.5912, allocations: 27.92 kB / 0.8238 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.5915, allocations: 8 kB / 0.8238 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.5928, allocations: 1.447 MB / 0.8253 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.5931, allocations: 0.6884 MB / 0.8259 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.075e-05/0.5932, allocations: 12.66 kB / 0.8259 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.5932, allocations: 23.19 kB / 0.826 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.5932, allocations: 0 / 0.826 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.613, allocations: 1.71 MB / 0.8276 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/8.055, allocations: 9.609 kB / 0.8276 GB, free: 9.391 MB / 0.6544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)