Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.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.Examples.SteamDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck",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.006652/0.006652, allocations: 101.1 kB / 15.73 MB, free: 6.469 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.001266/0.001266, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.324 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 1.015/1.015, allocations: 143 MB / 433.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 63.89 kB / 0.595 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4451, allocations: 82.02 MB / 0.6751 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.001876/0.447, allocations: 1.263 MB / 0.6764 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.151/0.598, allocations: 137.7 MB / 0.8109 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.5981, allocations: 0 / 0.8109 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.5981, allocations: 0 / 0.8109 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.45e-05/0.5982, allocations: 15.92 kB / 0.8109 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.5997, allocations: 462.3 kB / 0.8113 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.114e-05/0.5998, allocations: 39.84 kB / 0.8114 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.5999, allocations: 0 / 0.8114 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.899e-05/0.5999, allocations: 23.92 kB / 0.8114 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.825e-05/0.6, allocations: 23.91 kB / 0.8114 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.6001, allocations: 4 kB / 0.8114 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.6016, allocations: 0.8271 MB / 0.8122 GB, free: 9.547 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.6016, allocations: 8 kB / 0.8122 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.6017, allocations: 27.84 kB / 0.8123 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006975/0.6024, allocations: 445.4 kB / 0.8127 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6024, allocations: 0 / 0.8127 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6024, allocations: 0 / 0.8127 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.6024, allocations: 0 / 0.8127 GB, free: 9.078 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.0005585/0.603, allocations: 371.5 kB / 0.813 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.603, allocations: 8.031 kB / 0.813 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.6031, allocations: 34.75 kB / 0.8131 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.6033, allocations: 24.83 kB / 0.8131 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.6034, allocations: 160.4 kB / 0.8132 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.6034, allocations: 384 / 0.8132 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.6034, allocations: 7.938 kB / 0.8133 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.6036, allocations: 57.61 kB / 0.8133 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.6036, allocations: 4 kB / 0.8133 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.6036, allocations: 0 / 0.8133 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.6036, allocations: 0 / 0.8133 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.736e-05/0.6037, allocations: 23.97 kB / 0.8133 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.6039, allocations: 169.7 kB / 0.8135 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.604, allocations: 50.5 kB / 0.8135 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.604, allocations: 24.83 kB / 0.8136 GB, free: 8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01141/0.6154, allocations: 3.201 MB / 0.8167 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.6155, allocations: 42.55 kB / 0.8167 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 3.096e-06/0.6155, allocations: 0 / 0.8167 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.04153/0.6571, allocations: 14.99 MB / 0.8314 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.6571, allocations: 55.41 kB / 0.8314 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.401e-05/0.6572, allocations: 93.89 kB / 0.8315 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.6572, allocations: 33.73 kB / 0.8316 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.6573, allocations: 84.14 kB / 0.8316 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.6573, allocations: 43.3 kB / 0.8317 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.6574, allocations: 33.7 kB / 0.8317 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6575, allocations: 318.8 kB / 0.832 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.6575, allocations: 23.98 kB / 0.832 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.279e-05/0.6576, allocations: 31.48 kB / 0.8321 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.6577, allocations: 60.8 kB / 0.8321 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.6577, allocations: 4 kB / 0.8321 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002124/0.658, allocations: 105.7 kB / 0.8322 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.658, allocations: 4 kB / 0.8322 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.658, allocations: 240 / 0.8322 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.658, allocations: 4 kB / 0.8322 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.6581, allocations: 23.98 kB / 0.8323 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.6581, allocations: 3.984 kB / 0.8323 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.6582, allocations: 3.938 kB / 0.8323 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.6582, allocations: 8 kB / 0.8323 GB, free: 4.539 MB / 0.6544 GB 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 (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 7.96e-05/0.6583, allocations: 121.8 kB / 0.8324 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.6583, allocations: 3.906 kB / 0.8324 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.6586, allocations: 125.4 kB / 0.8325 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.6586, allocations: 0 / 0.8325 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6586, allocations: 4 kB / 0.8325 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.6586, allocations: 3.984 kB / 0.8325 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.6588, allocations: 181.5 kB / 0.8327 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6588, allocations: 3.984 kB / 0.8327 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.6589, allocations: 24 kB / 0.8327 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.6589, allocations: 0 / 0.8327 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.6589, allocations: 3.984 kB / 0.8327 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6589, allocations: 0 / 0.8327 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.6589, allocations: 4 kB / 0.8327 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.6592, allocations: 148.9 kB / 0.8329 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.6593, allocations: 97.12 kB / 0.833 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.6593, allocations: 4 kB / 0.833 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.6595, allocations: 11.94 kB / 0.833 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.6595, allocations: 11.98 kB / 0.833 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.6595, allocations: 4 kB / 0.833 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.011e-05/0.6596, allocations: 75.28 kB / 0.8331 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6596, allocations: 0 / 0.8331 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001827/0.6614, allocations: 0.5703 MB / 0.8336 GB, free: 3.055 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (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.004181/0.6656, allocations: 0.9485 MB / 0.8345 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.6658, allocations: 71.41 kB / 0.8346 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6658, allocations: 3.938 kB / 0.8346 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.663e-05/0.6659, allocations: 35.94 kB / 0.8347 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.6661, allocations: 15.98 kB / 0.8347 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.6685, allocations: 1.54 MB / 0.8362 GB, free: 344 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.6687, allocations: 0.6892 MB / 0.8368 GB, free: 15.62 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 8.118e-05/0.6688, allocations: 16.61 kB / 0.8369 GB, free: 15.61 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.6689, allocations: 19.44 kB / 0.8369 GB, free: 15.59 MB / 0.67 GB Notification: Performance of SimCode: time 4.31e-07/0.6689, allocations: 0 / 0.8369 GB, free: 15.59 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05332/0.7222, allocations: 25.56 MB / 0.8618 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.057/8.779, allocations: 6.125 kB / 0.8618 GB, free: 6.168 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)