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-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.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.006829/0.006829, allocations: 101 kB / 15.73 MB, free: 6.059 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.001813/0.001813, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.8641/0.8641, allocations: 143.3 MB / 433.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 67.47 kB / 0.5953 GB, free: 12.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1415, allocations: 82.04 MB / 0.6754 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.4948/0.6364, allocations: 192.7 MB / 0.8636 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00632/0.6428, allocations: 4.03 MB / 0.8676 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006008/0.6434, allocations: 23.88 kB / 0.8676 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.6446, allocations: 465 kB / 0.868 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003292/0.6479, allocations: 1.536 MB / 0.8695 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003099/0.651, allocations: 1.354 MB / 0.8709 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002051/0.6531, allocations: 1.629 MB / 0.8724 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.6543, allocations: 0.9549 MB / 0.8734 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.6557, allocations: 0.9267 MB / 0.8743 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.6568, allocations: 0.8526 MB / 0.8751 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.6569, allocations: 96 kB / 0.8752 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.6593, allocations: 1.305 MB / 0.8765 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.6597, allocations: 351 kB / 0.8768 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005474/0.6602, allocations: 0.5211 MB / 0.8773 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002271/0.6625, allocations: 1.686 MB / 0.879 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6625, allocations: 0 / 0.879 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6625, allocations: 0 / 0.879 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.6626, allocations: 0 / 0.879 GB, free: 13.24 MB / 0.6544 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.002961/0.6655, allocations: 1.479 MB / 0.8804 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.6656, allocations: 8.031 kB / 0.8804 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/0.6657, allocations: 90.52 kB / 0.8805 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.6672, allocations: 247.2 kB / 0.8807 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008913/0.6681, allocations: 0.6116 MB / 0.8813 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.6681, allocations: 40.98 kB / 0.8814 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.6683, allocations: 48 kB / 0.8814 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.6697, allocations: 0.9648 MB / 0.8824 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.6698, allocations: 7.953 kB / 0.8824 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-05/0.6699, allocations: 20 kB / 0.8824 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.422e-05/0.6699, allocations: 31.94 kB / 0.8824 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.6715, allocations: 0.9406 MB / 0.8833 GB, free: 8.59 MB / 0.6544 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.00554/0.677, allocations: 4.27 MB / 0.8875 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.678, allocations: 0.5978 MB / 0.8881 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007892/0.6788, allocations: 0.5149 MB / 0.8886 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.6799, allocations: 0.8744 MB / 0.8895 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.68, allocations: 54.86 kB / 0.8895 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001461/0.6815, allocations: 414.4 kB / 0.8899 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=50): time 2.765e-06/0.6815, allocations: 4 kB / 0.8899 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of matching and sorting (n=50): time 0.01776/0.6992, allocations: 3.838 MB / 0.8937 GB, free: 13.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.6993, allocations: 63.77 kB / 0.8937 GB, free: 13.53 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.7004, allocations: 0.7039 MB / 0.8944 GB, free: 12.82 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.7006, allocations: 37.7 kB / 0.8944 GB, free: 12.77 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.7009, allocations: 324.9 kB / 0.8947 GB, free: 12.45 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.7011, allocations: 186.3 kB / 0.8949 GB, free: 12.27 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002876/0.7014, allocations: 154.1 kB / 0.8951 GB, free: 12.11 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.7015, allocations: 326 kB / 0.8954 GB, free: 11.79 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007465/0.7023, allocations: 396.9 kB / 0.8958 GB, free: 11.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000801/0.7031, allocations: 489.5 kB / 0.8962 GB, free: 10.89 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.7047, allocations: 0.9219 MB / 0.8971 GB, free: 9.945 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.7047, allocations: 0 / 0.8971 GB, free: 9.945 MB / 0.67 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01131/0.716, allocations: 2.557 MB / 0.8996 GB, free: 7.371 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.7161, allocations: 10.66 kB / 0.8996 GB, free: 7.363 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.7161, allocations: 4 kB / 0.8996 GB, free: 7.359 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009489/0.7256, allocations: 1.735 MB / 0.9013 GB, free: 5.617 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/0.7261, allocations: 91.75 kB / 0.9014 GB, free: 5.527 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01333/0.7394, allocations: 7.134 MB / 0.9084 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008705/0.7404, allocations: 24.05 kB / 0.9084 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/0.7405, allocations: 47.92 kB / 0.9085 GB, free: 14.03 MB / 0.6856 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.0004771/0.741, allocations: 210.5 kB / 0.9087 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/0.7413, allocations: 79.48 kB / 0.9087 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005201/0.7465, allocations: 1.747 MB / 0.9104 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.7465, allocations: 8 kB / 0.9104 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.7466, allocations: 8.812 kB / 0.9105 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.7466, allocations: 11.97 kB / 0.9105 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006177/0.7528, allocations: 2.54 MB / 0.9129 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.7528, allocations: 192 / 0.9129 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004402/0.7532, allocations: 91.89 kB / 0.913 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003399/0.7566, allocations: 0.8015 MB / 0.9138 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.996e-05/0.7567, allocations: 16.8 kB / 0.9138 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007239/0.764, allocations: 4.858 MB / 0.9186 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.764, allocations: 0 / 0.9186 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005368/0.7694, allocations: 2.151 MB / 0.9207 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004487/0.7698, allocations: 240.4 kB / 0.9209 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.77, allocations: 16 kB / 0.9209 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005869/0.7706, allocations: 19.98 kB / 0.9209 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.7708, allocations: 56.44 kB / 0.921 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/0.7709, allocations: 23.98 kB / 0.921 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006992/0.7716, allocations: 0.4912 MB / 0.9215 GB, free: 236 kB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/0.7716, allocations: 0 / 0.9215 GB, free: 236 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009639/0.7726, allocations: 287.9 kB / 0.9218 GB, free: 15.95 MB / 0.7012 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.005981/0.7785, allocations: 2.812 MB / 0.9245 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003615/0.7822, allocations: 1.464 MB / 0.9259 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7822, allocations: 0 / 0.9259 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.7841, allocations: 0.9225 MB / 0.9269 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.7862, allocations: 463.4 kB / 0.9273 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03069/0.8169, allocations: 10.46 MB / 0.9375 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.8176, allocations: 0.9789 MB / 0.9385 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006782/0.8183, allocations: 158.6 kB / 0.9386 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004877/0.8188, allocations: 283.3 kB / 0.9389 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.8188, allocations: 3.938 kB / 0.9389 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.208/3.027, allocations: 29.74 MB / 0.9679 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/16.6, allocations: 10.16 kB / 0.9679 GB, free: 0.7695 MB / 0.7325 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)