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.001551/0.001551, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.026/1.026, allocations: 143 MB / 433.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 59.91 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1438, allocations: 82.05 MB / 0.5944 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002599/0.1465, allocations: 1.268 MB / 0.5956 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3903/0.5367, allocations: 147 MB / 0.7392 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.5368, allocations: 4 kB / 0.7392 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.5368, allocations: 7.516 kB / 0.7392 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.602e-05/0.5369, allocations: 6.516 kB / 0.7392 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.5374, allocations: 99.23 kB / 0.7393 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.5375, allocations: 33.66 kB / 0.7393 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.5375, allocations: 2.844 kB / 0.7393 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.302e-05/0.5376, allocations: 15.16 kB / 0.7393 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.528e-05/0.5376, allocations: 14.55 kB / 0.7394 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.5376, allocations: 6.812 kB / 0.7394 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.5379, allocations: 79 kB / 0.7394 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.538, allocations: 8.547 kB / 0.7394 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.538, allocations: 16.31 kB / 0.7395 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.5382, allocations: 65.42 kB / 0.7395 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5382, allocations: 0 / 0.7395 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5382, allocations: 0 / 0.7395 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.5382, allocations: 0 / 0.7395 GB, free: 5.359 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003863/0.5386, allocations: 352 kB / 0.7399 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.5387, allocations: 13.66 kB / 0.7399 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.5387, allocations: 36.19 kB / 0.7399 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.5389, allocations: 12.39 kB / 0.7399 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.833e-05/0.539, allocations: 166 kB / 0.7401 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.539, allocations: 13.27 kB / 0.7401 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.539, allocations: 14.2 kB / 0.7401 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.5392, allocations: 48.41 kB / 0.7401 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.5392, allocations: 0 / 0.7401 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.5392, allocations: 0 / 0.7401 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.5392, allocations: 6.156 kB / 0.7402 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.839e-05/0.5393, allocations: 16.55 kB / 0.7402 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.5394, allocations: 172.2 kB / 0.7403 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.984e-05/0.5395, allocations: 54.16 kB / 0.7404 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.5396, allocations: 12.02 kB / 0.7404 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.5396, allocations: 0 / 0.7404 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.5396, allocations: 43.41 kB / 0.7404 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.5396, allocations: 0 / 0.7404 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0006938/0.5403, allocations: 369.6 kB / 0.7408 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.5404, allocations: 57 kB / 0.7408 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.395e-05/0.5404, allocations: 94.84 kB / 0.7409 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.5404, allocations: 30.73 kB / 0.741 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.5405, allocations: 84.27 kB / 0.741 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.5405, allocations: 34.83 kB / 0.7411 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.5406, allocations: 36.31 kB / 0.7411 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.5407, allocations: 322 kB / 0.7414 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.505e-05/0.5407, allocations: 17.62 kB / 0.7414 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.617e-05/0.5407, allocations: 36.66 kB / 0.7415 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.254e-05/0.5408, allocations: 54 kB / 0.7415 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5408, allocations: 4.562 kB / 0.7415 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000135/0.541, allocations: 97.97 kB / 0.7416 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.541, allocations: 4.062 kB / 0.7416 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.541, allocations: 2.109 kB / 0.7416 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.541, allocations: 1.156 kB / 0.7416 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.5412, allocations: 29.67 kB / 0.7417 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.5412, allocations: 1.875 kB / 0.7417 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.353e-05/0.5412, allocations: 1.656 kB / 0.7417 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.5412, allocations: 2.5 kB / 0.7417 GB, free: 3.305 MB / 0.5606 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 7.242e-05/0.5413, allocations: 120.6 kB / 0.7418 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.5413, allocations: 12.03 kB / 0.7418 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.5414, allocations: 7.969 kB / 0.7418 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5414, allocations: 3.406 kB / 0.7418 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5414, allocations: 3.688 kB / 0.7418 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5414, allocations: 1.625 kB / 0.7418 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.5415, allocations: 173.4 kB / 0.742 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5415, allocations: 0 / 0.742 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.5416, allocations: 24.91 kB / 0.742 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.5417, allocations: 0 / 0.742 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.5417, allocations: 11.67 kB / 0.742 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5417, allocations: 1.469 kB / 0.742 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5417, allocations: 0 / 0.742 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.5419, allocations: 132.3 kB / 0.7421 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.542, allocations: 86.72 kB / 0.7422 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.542, allocations: 3.656 kB / 0.7422 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.5421, allocations: 4.031 kB / 0.7422 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.5421, allocations: 9.281 kB / 0.7422 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.5421, allocations: 6.812 kB / 0.7422 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.856e-05/0.5422, allocations: 76.88 kB / 0.7423 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5422, allocations: 0 / 0.7423 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002047/0.5424, allocations: 19.19 kB / 0.7423 GB, free: 2.672 MB / 0.5606 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.0003896/0.5428, allocations: 0.6687 MB / 0.743 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.5429, allocations: 65.02 kB / 0.743 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5429, allocations: 0 / 0.743 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.543, allocations: 32.56 kB / 0.7431 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.5432, allocations: 5.281 kB / 0.7431 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.5445, allocations: 1.447 MB / 0.7445 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.5447, allocations: 0.6915 MB / 0.7452 GB, free: 12 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.679e-05/0.5448, allocations: 10.62 kB / 0.7452 GB, free: 8 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.5449, allocations: 16.45 kB / 0.7452 GB, free: 16 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.5449, allocations: 4 kB / 0.7452 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.5619, allocations: 1.662 MB / 0.7468 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.256/7.818, allocations: 5.266 kB / 0.7468 GB, free: 15.33 MB / 0.5762 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)