Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",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.001087/0.001087, allocations: 108.6 kB / 16.41 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.001112/0.001112, allocations: 189.2 kB / 17.34 MB, free: 5.75 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.313/1.313, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7785/0.7785, allocations: 126.1 MB / 417.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 71.44 kB / 0.5726 GB, free: 27.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1185, allocations: 78.69 MB / 0.6494 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.4678/0.5863, allocations: 192.6 MB / 0.8375 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006031/0.5924, allocations: 4.018 MB / 0.8415 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008153/0.5932, allocations: 20.91 kB / 0.8415 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.5945, allocations: 492.7 kB / 0.842 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003573/0.5981, allocations: 1.602 MB / 0.8435 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003233/0.6014, allocations: 1.361 MB / 0.8449 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002051/0.6034, allocations: 1.647 MB / 0.8465 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.6047, allocations: 0.9636 MB / 0.8474 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.6062, allocations: 0.9366 MB / 0.8483 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.6074, allocations: 0.8548 MB / 0.8491 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.6077, allocations: 99.59 kB / 0.8492 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.6101, allocations: 1.31 MB / 0.8505 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004053/0.6105, allocations: 346 kB / 0.8509 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007007/0.6112, allocations: 0.5193 MB / 0.8514 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00246/0.6137, allocations: 1.635 MB / 0.853 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6137, allocations: 4 kB / 0.853 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6137, allocations: 0 / 0.853 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.64e-05/0.6137, allocations: 0 / 0.853 GB, free: 3.172 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003244/0.617, allocations: 1.47 MB / 0.8544 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.617, allocations: 9.719 kB / 0.8544 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.6172, allocations: 96.98 kB / 0.8545 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.6188, allocations: 245.8 kB / 0.8547 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000975/0.6198, allocations: 0.6075 MB / 0.8553 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.6198, allocations: 36.72 kB / 0.8554 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.6199, allocations: 55.25 kB / 0.8554 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.6215, allocations: 0.9637 MB / 0.8564 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.6216, allocations: 3.938 kB / 0.8564 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.861e-05/0.6216, allocations: 24 kB / 0.8564 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.456e-05/0.6217, allocations: 39.86 kB / 0.8564 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.6233, allocations: 0.9329 MB / 0.8573 GB, free: 15.59 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005526/0.6289, allocations: 4.263 MB / 0.8615 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.6299, allocations: 0.5922 MB / 0.8621 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000816/0.6307, allocations: 0.5265 MB / 0.8626 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/0.6318, allocations: 0.8705 MB / 0.8634 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.6318, allocations: 44.73 kB / 0.8635 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001534/0.6334, allocations: 411.5 kB / 0.8639 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=50): time 4.237e-06/0.6334, allocations: 4 kB / 0.8639 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=50): time 0.01885/0.6523, allocations: 3.849 MB / 0.8676 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.6523, allocations: 55.84 kB / 0.8677 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009931/0.6533, allocations: 0.7116 MB / 0.8684 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.6535, allocations: 37.7 kB / 0.8684 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.6537, allocations: 324.9 kB / 0.8687 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.654, allocations: 186.3 kB / 0.8689 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/0.6543, allocations: 150.1 kB / 0.869 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.6544, allocations: 334 kB / 0.8694 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007044/0.6551, allocations: 396.9 kB / 0.8697 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007784/0.6559, allocations: 477.5 kB / 0.8702 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.6575, allocations: 0.9258 MB / 0.8711 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6575, allocations: 0 / 0.8711 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01209/0.6696, allocations: 2.561 MB / 0.8736 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.6696, allocations: 8 kB / 0.8736 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.6696, allocations: 0 / 0.8736 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/0.6798, allocations: 1.738 MB / 0.8753 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/0.6803, allocations: 95.81 kB / 0.8754 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/0.6936, allocations: 7.137 MB / 0.8824 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008082/0.6944, allocations: 20.05 kB / 0.8824 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.6945, allocations: 43.94 kB / 0.8824 GB, free: 5.047 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003805/0.6949, allocations: 211.4 kB / 0.8826 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.6951, allocations: 83.48 kB / 0.8827 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00538/0.7005, allocations: 1.739 MB / 0.8844 GB, free: 3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.7005, allocations: 8 kB / 0.8844 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.7006, allocations: 4 kB / 0.8844 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.7006, allocations: 7.922 kB / 0.8844 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006162/0.7067, allocations: 2.54 MB / 0.8869 GB, free: 364 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.7068, allocations: 0.75 kB / 0.8869 GB, free: 364 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004481/0.7072, allocations: 91.83 kB / 0.887 GB, free: 272 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003635/0.7109, allocations: 0.7943 MB / 0.8878 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/0.7109, allocations: 19.94 kB / 0.8878 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007091/0.718, allocations: 4.87 MB / 0.8925 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7181, allocations: 4.078 kB / 0.8926 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005487/0.7236, allocations: 2.151 MB / 0.8947 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000404/0.724, allocations: 236.4 kB / 0.8949 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.7241, allocations: 15.98 kB / 0.8949 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006308/0.7248, allocations: 23.98 kB / 0.8949 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.725, allocations: 60.38 kB / 0.895 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.181e-05/0.725, allocations: 16 kB / 0.895 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006452/0.7257, allocations: 0.5029 MB / 0.8955 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7257, allocations: 0 / 0.8955 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009301/0.7266, allocations: 279.8 kB / 0.8957 GB, free: 6.965 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006146/0.7328, allocations: 2.813 MB / 0.8985 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003654/0.7364, allocations: 1.48 MB / 0.8999 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.7365, allocations: 0 / 0.8999 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001929/0.7384, allocations: 0.9069 MB / 0.9008 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.7406, allocations: 453.3 kB / 0.9013 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03168/0.7723, allocations: 10.48 MB / 0.9115 GB, free: 6.559 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006381/0.773, allocations: 0.9789 MB / 0.9124 GB, free: 5.555 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006461/0.7737, allocations: 174.6 kB / 0.9126 GB, free: 5.379 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/0.7741, allocations: 283.3 kB / 0.9129 GB, free: 5.102 MB / 0.67 GB Notification: Performance of SimCode: time 6.32e-07/0.7741, allocations: 0 / 0.9129 GB, free: 5.102 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05926/0.8334, allocations: 29.64 MB / 0.9418 GB, free: 7.773 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.82, allocations: 21.16 kB / 0.9419 GB, free: 7.758 MB / 0.7012 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)