Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.005505/0.005505, allocations: 100.4 kB / 15.73 MB, free: 6.016 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.001381/0.001381, allocations: 185.9 kB / 16.67 MB, free: 5.934 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9242/0.9242, allocations: 143.3 MB / 433.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 72.17 kB / 0.5953 GB, free: 12.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1488, allocations: 82.03 MB / 0.6754 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002471/0.1513, allocations: 1.331 MB / 0.6767 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4689/0.6202, allocations: 148.1 MB / 0.8213 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.725e-05/0.6204, allocations: 0 / 0.8213 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.758e-05/0.6204, allocations: 8.781 kB / 0.8213 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.6205, allocations: 14.91 kB / 0.8213 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000884/0.6214, allocations: 329.5 kB / 0.8217 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.6215, allocations: 64.5 kB / 0.8217 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.6216, allocations: 2.5 kB / 0.8217 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.559e-05/0.6216, allocations: 36.84 kB / 0.8218 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.6217, allocations: 36.92 kB / 0.8218 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.6217, allocations: 2.75 kB / 0.8218 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007657/0.6225, allocations: 408 kB / 0.8222 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.6226, allocations: 20.3 kB / 0.8222 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.6226, allocations: 28.94 kB / 0.8222 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.6229, allocations: 154.7 kB / 0.8224 GB, free: 452 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6229, allocations: 2.125 kB / 0.8224 GB, free: 452 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6229, allocations: 0 / 0.8224 GB, free: 452 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.6229, allocations: 0 / 0.8224 GB, free: 452 kB / 0.5919 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.0004852/0.6234, allocations: 396 kB / 0.8228 GB, free: 40 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.6235, allocations: 9.5 kB / 0.8228 GB, free: 40 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.6235, allocations: 37.48 kB / 0.8228 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003817/0.6239, allocations: 39.81 kB / 0.8228 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.6241, allocations: 172.2 kB / 0.823 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.6241, allocations: 10.69 kB / 0.823 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.6241, allocations: 10.69 kB / 0.823 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.6243, allocations: 83.27 kB / 0.8231 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.6243, allocations: 0 / 0.8231 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.6243, allocations: 3.938 kB / 0.8231 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.6243, allocations: 2.781 kB / 0.8231 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.743e-05/0.6244, allocations: 44.8 kB / 0.8231 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.6247, allocations: 184.7 kB / 0.8233 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.6248, allocations: 91.75 kB / 0.8234 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.6249, allocations: 35.66 kB / 0.8234 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002302/0.6251, allocations: 173.8 kB / 0.8236 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.6252, allocations: 34.89 kB / 0.8236 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 3.216e-06/0.6252, allocations: 0 / 0.8236 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001261/0.6264, allocations: 0.5555 MB / 0.8242 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.6265, allocations: 58.34 kB / 0.8242 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.6266, allocations: 100.1 kB / 0.8243 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.6266, allocations: 32.27 kB / 0.8244 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.6266, allocations: 80.52 kB / 0.8244 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.6267, allocations: 79.3 kB / 0.8245 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.6268, allocations: 40.64 kB / 0.8246 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.6269, allocations: 314.8 kB / 0.8249 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.69e-05/0.627, allocations: 42.47 kB / 0.8249 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-05/0.6271, allocations: 65.53 kB / 0.825 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.6272, allocations: 119 kB / 0.8251 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.6272, allocations: 0 / 0.8251 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002178/0.6275, allocations: 159.9 kB / 0.8252 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.6275, allocations: 4.438 kB / 0.8252 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.6275, allocations: 6.438 kB / 0.8252 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.6275, allocations: 2.562 kB / 0.8252 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.6277, allocations: 35.36 kB / 0.8253 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.6277, allocations: 2.75 kB / 0.8253 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.705e-05/0.6278, allocations: 10.84 kB / 0.8253 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.6278, allocations: 5.438 kB / 0.8253 GB, free: 13.78 MB / 0.6075 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 9.61e-05/0.6279, allocations: 130.8 kB / 0.8254 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.6279, allocations: 9.391 kB / 0.8254 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.604e-05/0.6279, allocations: 16.44 kB / 0.8254 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.628, allocations: 6.141 kB / 0.8254 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.628, allocations: 0 / 0.8254 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.628, allocations: 3.938 kB / 0.8255 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.6282, allocations: 194.8 kB / 0.8256 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.6282, allocations: 0 / 0.8256 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.6284, allocations: 36.67 kB / 0.8257 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.6284, allocations: 10.86 kB / 0.8257 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.6284, allocations: 4 kB / 0.8257 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.6284, allocations: 2.531 kB / 0.8257 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.6284, allocations: 0 / 0.8257 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.6287, allocations: 208.2 kB / 0.8259 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-05/0.6288, allocations: 94.61 kB / 0.826 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.6288, allocations: 0 / 0.826 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.6289, allocations: 12.8 kB / 0.826 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.629, allocations: 21.23 kB / 0.826 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.629, allocations: 14.16 kB / 0.826 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.148e-05/0.629, allocations: 75.28 kB / 0.8261 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6291, allocations: 0 / 0.8261 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002128/0.6293, allocations: 25.66 kB / 0.8261 GB, free: 13.04 MB / 0.6075 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.0005868/0.6299, allocations: 0.751 MB / 0.8269 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.6301, allocations: 105 kB / 0.827 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6301, allocations: 0 / 0.827 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.693e-05/0.6301, allocations: 54.84 kB / 0.827 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.6304, allocations: 20.88 kB / 0.827 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.6322, allocations: 1.822 MB / 0.8288 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.6325, allocations: 0.6969 MB / 0.8295 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.881e-05/0.6327, allocations: 27.28 kB / 0.8295 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.6327, allocations: 23 kB / 0.8295 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.6327, allocations: 3.938 kB / 0.8295 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.6561, allocations: 2.443 MB / 0.8319 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/8.224, allocations: 11.88 kB / 0.8319 GB, free: 8.656 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck_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_Examples_AirDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)