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.00118/0.00118, allocations: 111.3 kB / 16.41 MB, free: 6.48 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.001297/0.001297, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6823/0.6823, allocations: 115.3 MB / 406.5 MB, free: 6.238 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 70.97 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1278, allocations: 76.19 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.5224/0.6502, allocations: 192.6 MB / 0.8197 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00644/0.6567, allocations: 4.018 MB / 0.8236 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007003/0.6574, allocations: 22.81 kB / 0.8236 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.6589, allocations: 490.9 kB / 0.8241 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003968/0.663, allocations: 1.599 MB / 0.8256 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003481/0.6665, allocations: 1.368 MB / 0.827 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002471/0.6689, allocations: 1.646 MB / 0.8286 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.6701, allocations: 0.9548 MB / 0.8295 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.6718, allocations: 0.9428 MB / 0.8304 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.673, allocations: 0.8473 MB / 0.8313 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.6732, allocations: 97.53 kB / 0.8314 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/0.676, allocations: 1.308 MB / 0.8326 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00052/0.6766, allocations: 357.1 kB / 0.833 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005878/0.6772, allocations: 0.5104 MB / 0.8335 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.6796, allocations: 1.634 MB / 0.8351 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6796, allocations: 0 / 0.8351 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6796, allocations: 0 / 0.8351 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.6797, allocations: 0 / 0.8351 GB, free: 1.902 MB / 0.5919 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.002944/0.6826, allocations: 1.448 MB / 0.8365 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.6827, allocations: 9.562 kB / 0.8365 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.6828, allocations: 92.86 kB / 0.8366 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.6843, allocations: 242.4 kB / 0.8368 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008685/0.6852, allocations: 0.614 MB / 0.8374 GB, free: 192 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.6853, allocations: 36.66 kB / 0.8375 GB, free: 172 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.6854, allocations: 49.28 kB / 0.8375 GB, free: 156 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.6868, allocations: 0.9631 MB / 0.8384 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.6868, allocations: 6.344 kB / 0.8384 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/0.6869, allocations: 21.28 kB / 0.8385 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/0.687, allocations: 30.36 kB / 0.8385 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.6884, allocations: 0.9424 MB / 0.8394 GB, free: 14.96 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.005405/0.6938, allocations: 4.239 MB / 0.8436 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009245/0.6947, allocations: 0.6059 MB / 0.8441 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007/0.6954, allocations: 0.5154 MB / 0.8446 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/0.6966, allocations: 0.8808 MB / 0.8455 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.6966, allocations: 38.22 kB / 0.8455 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001467/0.6981, allocations: 417.4 kB / 0.8459 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 4.087e-06/0.6981, allocations: 4 kB / 0.8459 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01696/0.7151, allocations: 3.837 MB / 0.8497 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.7152, allocations: 63.78 kB / 0.8498 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009057/0.7161, allocations: 0.7116 MB / 0.8505 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.7162, allocations: 33.7 kB / 0.8505 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.7165, allocations: 327 kB / 0.8508 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.7167, allocations: 176.3 kB / 0.851 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.717, allocations: 154 kB / 0.8511 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.7171, allocations: 326 kB / 0.8514 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006239/0.7177, allocations: 392.9 kB / 0.8518 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006959/0.7184, allocations: 485.5 kB / 0.8523 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.7198, allocations: 0.9219 MB / 0.8532 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.7199, allocations: 0 / 0.8532 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01099/0.7308, allocations: 2.564 MB / 0.8557 GB, free: 400 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.7309, allocations: 4 kB / 0.8557 GB, free: 396 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.7309, allocations: 7.938 kB / 0.8557 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009278/0.7402, allocations: 1.729 MB / 0.8574 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004528/0.7407, allocations: 95.8 kB / 0.8575 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.7527, allocations: 7.135 MB / 0.8644 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008636/0.7536, allocations: 16.06 kB / 0.8644 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.7537, allocations: 47.92 kB / 0.8645 GB, free: 7.082 MB / 0.6231 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.0003702/0.7541, allocations: 209.7 kB / 0.8647 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.7543, allocations: 82.97 kB / 0.8648 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004879/0.7592, allocations: 1.739 MB / 0.8665 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.7592, allocations: 8 kB / 0.8665 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.7592, allocations: 4 kB / 0.8665 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.7592, allocations: 3.984 kB / 0.8665 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00566/0.7649, allocations: 2.539 MB / 0.869 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.7649, allocations: 4 kB / 0.869 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004185/0.7653, allocations: 83.89 kB / 0.869 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003306/0.7687, allocations: 0.8087 MB / 0.8698 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.275e-05/0.7687, allocations: 12 kB / 0.8698 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006798/0.7755, allocations: 4.86 MB / 0.8746 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.7756, allocations: 0 / 0.8746 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005397/0.781, allocations: 2.151 MB / 0.8767 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006191/0.7817, allocations: 228 kB / 0.8769 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.7818, allocations: 16 kB / 0.8769 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005582/0.7824, allocations: 23.98 kB / 0.8769 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.7826, allocations: 60.36 kB / 0.877 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/0.7826, allocations: 20 kB / 0.877 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006888/0.7833, allocations: 0.4912 MB / 0.8775 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7833, allocations: 0 / 0.8775 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009775/0.7843, allocations: 299.7 kB / 0.8778 GB, free: 9.035 MB / 0.6387 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.005812/0.7901, allocations: 2.796 MB / 0.8805 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003594/0.7937, allocations: 1.477 MB / 0.882 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.7938, allocations: 0 / 0.882 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001981/0.7957, allocations: 0.9167 MB / 0.8829 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.7979, allocations: 459.5 kB / 0.8833 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02963/0.8275, allocations: 10.44 MB / 0.8935 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.8281, allocations: 0.9789 MB / 0.8944 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000733/0.8289, allocations: 162.6 kB / 0.8946 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/0.8292, allocations: 287.3 kB / 0.8949 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.8292, allocations: 0 / 0.8949 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06244/0.8917, allocations: 29.66 MB / 0.9238 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.88, allocations: 11.92 kB / 0.9239 GB, free: 9.895 MB / 0.6856 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)