Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_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.00108/0.001081, allocations: 108 kB / 15.6 MB, free: 132 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.001093/0.001093, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.395 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 0.9295/0.9295, allocations: 143 MB / 433.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.89 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1506, allocations: 82.04 MB / 0.5944 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.475/0.6256, allocations: 192.7 MB / 0.7826 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006227/0.6318, allocations: 4.03 MB / 0.7865 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005542/0.6324, allocations: 15.94 kB / 0.7865 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.6336, allocations: 476.9 kB / 0.787 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003152/0.6368, allocations: 1.536 MB / 0.7885 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002991/0.6398, allocations: 1.345 MB / 0.7898 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00183/0.6416, allocations: 1.628 MB / 0.7914 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.6427, allocations: 0.9509 MB / 0.7923 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.644, allocations: 0.9189 MB / 0.7932 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009441/0.6449, allocations: 0.8526 MB / 0.7941 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.6451, allocations: 99.94 kB / 0.7942 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.6473, allocations: 1.302 MB / 0.7954 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.6477, allocations: 350.9 kB / 0.7958 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005058/0.6482, allocations: 0.5094 MB / 0.7963 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.6502, allocations: 1.671 MB / 0.7979 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6503, allocations: 0 / 0.7979 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6503, allocations: 0 / 0.7979 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.6503, allocations: 0 / 0.7979 GB, free: 12.71 MB / 0.6231 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.002964/0.6533, allocations: 1.452 MB / 0.7993 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.6533, allocations: 12.03 kB / 0.7993 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.6534, allocations: 90.5 kB / 0.7994 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.6549, allocations: 242.2 kB / 0.7996 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007857/0.6557, allocations: 0.5953 MB / 0.8002 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.6558, allocations: 37 kB / 0.8003 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.6559, allocations: 56 kB / 0.8003 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.6573, allocations: 0.957 MB / 0.8012 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.6573, allocations: 7.984 kB / 0.8013 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.639e-05/0.6574, allocations: 20 kB / 0.8013 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/0.6575, allocations: 35.94 kB / 0.8013 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.6589, allocations: 0.9329 MB / 0.8022 GB, free: 8.113 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.005226/0.6642, allocations: 4.261 MB / 0.8064 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/0.6652, allocations: 0.5944 MB / 0.807 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007654/0.6659, allocations: 0.5214 MB / 0.8075 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.667, allocations: 0.8783 MB / 0.8083 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.667, allocations: 38.94 kB / 0.8084 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001494/0.6685, allocations: 419.1 kB / 0.8088 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=50): time 3.567e-06/0.6685, allocations: 4 kB / 0.8088 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of matching and sorting (n=50): time 0.01793/0.6865, allocations: 3.833 MB / 0.8125 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.6865, allocations: 59.84 kB / 0.8126 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009473/0.6875, allocations: 0.7193 MB / 0.8133 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.6876, allocations: 29.7 kB / 0.8133 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.6878, allocations: 320.6 kB / 0.8136 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.688, allocations: 177.5 kB / 0.8138 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/0.6883, allocations: 150 kB / 0.8139 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6884, allocations: 330 kB / 0.8142 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006772/0.6891, allocations: 396.8 kB / 0.8146 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007238/0.6898, allocations: 485.5 kB / 0.8151 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.6914, allocations: 0.9219 MB / 0.816 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.6914, allocations: 4 kB / 0.816 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01169/0.7031, allocations: 2.56 MB / 0.8185 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.7031, allocations: 4 kB / 0.8185 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.7031, allocations: 4 kB / 0.8185 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009945/0.7131, allocations: 1.735 MB / 0.8202 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/0.7135, allocations: 95.81 kB / 0.8203 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/0.7261, allocations: 7.143 MB / 0.8272 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007911/0.7269, allocations: 22.3 kB / 0.8273 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.879e-05/0.727, allocations: 48.88 kB / 0.8273 GB, free: 13.57 MB / 0.6544 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.0003642/0.7274, allocations: 212.9 kB / 0.8275 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.7276, allocations: 86.97 kB / 0.8276 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005151/0.7327, allocations: 1.733 MB / 0.8293 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.7328, allocations: 11.94 kB / 0.8293 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7328, allocations: 4 kB / 0.8293 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.7328, allocations: 7.969 kB / 0.8293 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005761/0.7386, allocations: 2.552 MB / 0.8318 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.7386, allocations: 0 / 0.8318 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.739, allocations: 95.77 kB / 0.8319 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00347/0.7425, allocations: 0.7979 MB / 0.8327 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.866e-05/0.7426, allocations: 15.98 kB / 0.8327 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006677/0.7492, allocations: 4.859 MB / 0.8374 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7493, allocations: 0 / 0.8374 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005175/0.7544, allocations: 2.155 MB / 0.8395 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.7548, allocations: 236 kB / 0.8398 GB, free: 388 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.755, allocations: 12 kB / 0.8398 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005625/0.7555, allocations: 19.98 kB / 0.8398 GB, free: 356 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.7557, allocations: 56.44 kB / 0.8398 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/0.7558, allocations: 23.98 kB / 0.8399 GB, free: 276 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006215/0.7564, allocations: 0.4951 MB / 0.8404 GB, free: 15.78 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7564, allocations: 3.938 kB / 0.8404 GB, free: 15.77 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009461/0.7573, allocations: 287.8 kB / 0.8406 GB, free: 15.49 MB / 0.67 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.00591/0.7633, allocations: 2.803 MB / 0.8434 GB, free: 12.64 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00366/0.7669, allocations: 1.52 MB / 0.8449 GB, free: 11.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.7669, allocations: 0 / 0.8449 GB, free: 11.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.7688, allocations: 0.9147 MB / 0.8457 GB, free: 10.16 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.7708, allocations: 458.6 kB / 0.8462 GB, free: 9.746 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2534/1.024, allocations: 10.69 MB / 0.8566 GB, free: 209.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/1.025, allocations: 0.98 MB / 0.8576 GB, free: 208.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007626/1.025, allocations: 161.4 kB / 0.8577 GB, free: 208.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/1.026, allocations: 279.7 kB / 0.858 GB, free: 208.6 MB / 0.67 GB Notification: Performance of SimCode: time 6.22e-07/1.026, allocations: 0 / 0.858 GB, free: 208.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05325/1.079, allocations: 29.52 MB / 0.8868 GB, free: 207.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.86, allocations: 4.406 kB / 0.8868 GB, free: 207.1 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)