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.001189/0.001189, allocations: 103.8 kB / 16.4 MB, free: 6.492 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.001046/0.001046, allocations: 193.8 kB / 17.34 MB, free: 5.766 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.237/1.237, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7136/0.7136, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 66.94 kB / 0.5679 GB, free: 29.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1327, allocations: 77.93 MB / 0.6441 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.4601/0.5929, allocations: 192.6 MB / 0.8322 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00585/0.5988, allocations: 4.015 MB / 0.8361 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007348/0.5995, allocations: 22.31 kB / 0.8361 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.6007, allocations: 489.2 kB / 0.8366 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003303/0.6041, allocations: 1.599 MB / 0.8381 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.6071, allocations: 1.364 MB / 0.8395 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001876/0.609, allocations: 1.642 MB / 0.8411 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.61, allocations: 0.9555 MB / 0.842 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.6114, allocations: 0.9475 MB / 0.8429 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009803/0.6124, allocations: 0.8491 MB / 0.8437 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.6125, allocations: 95.72 kB / 0.8438 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002228/0.6148, allocations: 1.312 MB / 0.8451 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003194/0.6151, allocations: 353.2 kB / 0.8455 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.6156, allocations: 0.5161 MB / 0.846 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.6177, allocations: 1.641 MB / 0.8476 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6178, allocations: 0 / 0.8476 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6178, allocations: 0 / 0.8476 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.6178, allocations: 0 / 0.8476 GB, free: 9.691 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.002806/0.6206, allocations: 1.469 MB / 0.849 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.6206, allocations: 10.78 kB / 0.849 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.6208, allocations: 88.33 kB / 0.8491 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.6223, allocations: 242.4 kB / 0.8493 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009121/0.6232, allocations: 0.6227 MB / 0.8499 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.6232, allocations: 36.88 kB / 0.85 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.6234, allocations: 51.28 kB / 0.85 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.6247, allocations: 0.957 MB / 0.851 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.6248, allocations: 7.891 kB / 0.851 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-05/0.6249, allocations: 31.56 kB / 0.851 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-05/0.6249, allocations: 31.92 kB / 0.851 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.6263, allocations: 0.9386 MB / 0.8519 GB, free: 6.672 MB / 0.6075 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.005074/0.6314, allocations: 4.26 MB / 0.8561 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009367/0.6324, allocations: 0.5978 MB / 0.8567 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007262/0.6331, allocations: 0.5104 MB / 0.8572 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009651/0.6341, allocations: 0.8783 MB / 0.858 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.6341, allocations: 46.94 kB / 0.8581 GB, free: 496 kB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001425/0.6356, allocations: 411.5 kB / 0.8585 GB, free: 84 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 2.575e-06/0.6356, allocations: 0 / 0.8585 GB, free: 84 kB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01789/0.6535, allocations: 3.849 MB / 0.8622 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.6535, allocations: 59.78 kB / 0.8623 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009348/0.6545, allocations: 0.7078 MB / 0.863 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.6546, allocations: 37.7 kB / 0.863 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.6549, allocations: 324.9 kB / 0.8633 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.6551, allocations: 186.4 kB / 0.8635 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.6553, allocations: 154 kB / 0.8636 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.6554, allocations: 330 kB / 0.864 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006452/0.6561, allocations: 392.9 kB / 0.8643 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/0.6568, allocations: 485.5 kB / 0.8648 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.6582, allocations: 0.9219 MB / 0.8657 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.6583, allocations: 0 / 0.8657 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01153/0.6698, allocations: 2.561 MB / 0.8682 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.6698, allocations: 8 kB / 0.8682 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.6699, allocations: 0 / 0.8682 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009758/0.6796, allocations: 1.734 MB / 0.8699 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.6802, allocations: 99.73 kB / 0.87 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/0.6927, allocations: 7.142 MB / 0.877 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008576/0.6936, allocations: 20.94 kB / 0.877 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.482e-05/0.6937, allocations: 47.92 kB / 0.877 GB, free: 12.6 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.0003641/0.694, allocations: 207.4 kB / 0.8772 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.6942, allocations: 83.48 kB / 0.8773 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005319/0.6996, allocations: 1.748 MB / 0.879 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.6996, allocations: 8 kB / 0.879 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.6996, allocations: 7.984 kB / 0.879 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.6996, allocations: 4 kB / 0.879 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005974/0.7056, allocations: 2.528 MB / 0.8815 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.7056, allocations: 4.188 kB / 0.8815 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004422/0.7061, allocations: 95.77 kB / 0.8816 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003467/0.7096, allocations: 0.802 MB / 0.8824 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.519e-05/0.7097, allocations: 16.25 kB / 0.8824 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006632/0.7163, allocations: 4.863 MB / 0.8872 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.7163, allocations: 480 / 0.8872 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00529/0.7216, allocations: 2.155 MB / 0.8893 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004836/0.7221, allocations: 240.4 kB / 0.8895 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.7223, allocations: 12 kB / 0.8895 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005815/0.7229, allocations: 23.98 kB / 0.8895 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.723, allocations: 60.42 kB / 0.8896 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.7231, allocations: 19.94 kB / 0.8896 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005925/0.7237, allocations: 0.4951 MB / 0.8901 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7237, allocations: 0 / 0.8901 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009108/0.7246, allocations: 287.8 kB / 0.8904 GB, free: 14.52 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.00583/0.7304, allocations: 2.812 MB / 0.8931 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003516/0.734, allocations: 1.48 MB / 0.8945 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.734, allocations: 3.938 kB / 0.8946 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001842/0.7359, allocations: 0.9069 MB / 0.8954 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/0.738, allocations: 444.2 kB / 0.8959 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03011/0.7681, allocations: 10.48 MB / 0.9061 GB, free: 14.11 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.7687, allocations: 0.9789 MB / 0.9071 GB, free: 13.11 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006402/0.7694, allocations: 166.6 kB / 0.9072 GB, free: 12.94 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003949/0.7698, allocations: 279.3 kB / 0.9075 GB, free: 12.67 MB / 0.67 GB Notification: Performance of SimCode: time 5.82e-07/0.7698, allocations: 0 / 0.9075 GB, free: 12.67 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05527/0.8251, allocations: 29.65 MB / 0.9364 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/11.23, allocations: 10.11 kB / 0.9364 GB, free: 15.32 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)