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.005706/0.005706, allocations: 98.69 kB / 15.73 MB, free: 5.547 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.001429/0.001429, allocations: 189.1 kB / 16.67 MB, free: 5.492 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.902/0.902, allocations: 143 MB / 433.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 63.89 kB / 0.5951 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3403, allocations: 82.02 MB / 0.6751 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.1748/0.5151, allocations: 192.7 MB / 0.8634 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00559/0.5207, allocations: 4.033 MB / 0.8673 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006993/0.5214, allocations: 19.88 kB / 0.8673 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.5226, allocations: 473 kB / 0.8678 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.3263/0.8489, allocations: 1.518 MB / 0.8693 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003119/0.8521, allocations: 1.36 MB / 0.8706 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002389/0.8545, allocations: 1.631 MB / 0.8722 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.8558, allocations: 0.9549 MB / 0.8731 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.8579, allocations: 0.9295 MB / 0.874 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.8592, allocations: 0.8455 MB / 0.8749 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.8593, allocations: 98.08 kB / 0.875 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.8622, allocations: 1.308 MB / 0.8762 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003256/0.8625, allocations: 355.1 kB / 0.8766 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006263/0.8632, allocations: 0.5116 MB / 0.8771 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002682/0.8658, allocations: 1.679 MB / 0.8787 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.8659, allocations: 0.5312 kB / 0.8787 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8659, allocations: 0.8438 kB / 0.8787 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.212e-05/0.8659, allocations: 0.5312 kB / 0.8787 GB, free: 2.227 MB / 0.6856 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.003468/0.8694, allocations: 1.447 MB / 0.8801 GB, free: 17.53 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.8694, allocations: 10.38 kB / 0.8801 GB, free: 17.53 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.8696, allocations: 93.64 kB / 0.8802 GB, free: 17.49 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.8711, allocations: 238.8 kB / 0.8804 GB, free: 17.45 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.8722, allocations: 0.6167 MB / 0.8811 GB, free: 17.15 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.8722, allocations: 35.03 kB / 0.8811 GB, free: 17.15 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.8724, allocations: 55.73 kB / 0.8811 GB, free: 17.15 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.8738, allocations: 0.9622 MB / 0.8821 GB, free: 16.94 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.8738, allocations: 6.562 kB / 0.8821 GB, free: 16.94 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.267e-05/0.8739, allocations: 21.72 kB / 0.8821 GB, free: 16.94 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.181e-05/0.8739, allocations: 29.11 kB / 0.8821 GB, free: 16.94 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.8754, allocations: 0.9381 MB / 0.883 GB, free: 16.94 MB / 0.7012 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.005001/0.8804, allocations: 4.255 MB / 0.8872 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008696/0.8813, allocations: 0.5982 MB / 0.8878 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006946/0.882, allocations: 0.5151 MB / 0.8883 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009242/0.8829, allocations: 0.8794 MB / 0.8891 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.883, allocations: 42.06 kB / 0.8892 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001426/0.8844, allocations: 417.2 kB / 0.8896 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=50): time 3.416e-06/0.8844, allocations: 0.875 kB / 0.8896 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of matching and sorting (n=50): time 0.01613/0.9005, allocations: 3.834 MB / 0.8933 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.9006, allocations: 67.2 kB / 0.8934 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008021/0.9014, allocations: 0.7072 MB / 0.8941 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.9015, allocations: 35.45 kB / 0.8941 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.9017, allocations: 320.8 kB / 0.8944 GB, free: 13 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.9019, allocations: 177.3 kB / 0.8946 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.9021, allocations: 150.5 kB / 0.8947 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.9022, allocations: 326.4 kB / 0.8951 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005333/0.9027, allocations: 395.1 kB / 0.8954 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007544/0.9035, allocations: 487.8 kB / 0.8959 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.9048, allocations: 0.9228 MB / 0.8968 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.9048, allocations: 1.062 kB / 0.8968 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01022/0.915, allocations: 2.565 MB / 0.8993 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.9151, allocations: 4.844 kB / 0.8993 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.9151, allocations: 4.094 kB / 0.8993 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008625/0.9237, allocations: 1.728 MB / 0.901 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.9242, allocations: 93.52 kB / 0.9011 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/0.935, allocations: 7.143 MB / 0.9081 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.9361, allocations: 18.16 kB / 0.9081 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.313e-05/0.9362, allocations: 50.78 kB / 0.9081 GB, free: 9.336 MB / 0.7012 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.0003861/0.9366, allocations: 217 kB / 0.9083 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.9368, allocations: 78.5 kB / 0.9084 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004426/0.9412, allocations: 1.728 MB / 0.9101 GB, free: 9.051 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.9413, allocations: 12.09 kB / 0.9101 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.9413, allocations: 3.438 kB / 0.9101 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.9413, allocations: 5.25 kB / 0.9101 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005315/0.9466, allocations: 2.547 MB / 0.9126 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.9466, allocations: 3.312 kB / 0.9126 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.947, allocations: 89.58 kB / 0.9127 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003051/0.9501, allocations: 0.8002 MB / 0.9135 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.701e-05/0.9502, allocations: 14.91 kB / 0.9135 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005753/0.9559, allocations: 4.849 MB / 0.9182 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.956, allocations: 2 kB / 0.9182 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004666/0.9606, allocations: 2.154 MB / 0.9203 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/0.9612, allocations: 240.2 kB / 0.9206 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.9613, allocations: 15.53 kB / 0.9206 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005491/0.9618, allocations: 18.52 kB / 0.9206 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.962, allocations: 55.17 kB / 0.9206 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-05/0.9621, allocations: 20.3 kB / 0.9207 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005407/0.9626, allocations: 0.4963 MB / 0.9211 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9626, allocations: 4 kB / 0.9211 GB, free: 5.262 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009358/0.9636, allocations: 286.2 kB / 0.9214 GB, free: 5.25 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.005205/0.9688, allocations: 2.809 MB / 0.9242 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003411/0.9722, allocations: 1.471 MB / 0.9256 GB, free: 4.094 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.9722, allocations: 4.062 kB / 0.9256 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.9739, allocations: 0.9234 MB / 0.9265 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.976, allocations: 463.1 kB / 0.9269 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02818/1.004, allocations: 10.42 MB / 0.9371 GB, free: 352 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005576/1.005, allocations: 0.9816 MB / 0.9381 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000658/1.006, allocations: 157.8 kB / 0.9382 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/1.006, allocations: 288.7 kB / 0.9385 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/1.006, allocations: 0 / 0.9385 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05752/1.063, allocations: 30.47 MB / 0.9683 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/11.26, allocations: 3.984 kB / 0.9683 GB, free: 4.176 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)