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.0008839/0.000884, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005142/0.005142, allocations: 170 kB / 16.26 MB, free: 6.613 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.18/1.18, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.8543/0.8543, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.000278, allocations: 12 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1258, allocations: 83.41 MB / 0.598 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.3767/0.5025, allocations: 187.9 MB / 0.7815 GB, free: 12 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004842/0.5074, allocations: 4.03 MB / 0.7854 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.5077, allocations: 11.94 kB / 0.7854 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008353/0.5085, allocations: 397.8 kB / 0.7858 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.5108, allocations: 1.443 MB / 0.7872 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.5131, allocations: 1.249 MB / 0.7885 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001853/0.515, allocations: 2.345 MB / 0.7907 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008835/0.5159, allocations: 0.8679 MB / 0.7916 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000891/0.5168, allocations: 0.8564 MB / 0.7924 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008304/0.5176, allocations: 0.8642 MB / 0.7933 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.5177, allocations: 72 kB / 0.7933 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.5195, allocations: 1.578 MB / 0.7949 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.5198, allocations: 323 kB / 0.7952 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000403/0.5202, allocations: 0.5071 MB / 0.7957 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.5217, allocations: 1.725 MB / 0.7974 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.5217, allocations: 0 / 0.7974 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5217, allocations: 0 / 0.7974 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.5217, allocations: 3.938 kB / 0.7974 GB, free: 15.7 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.002116/0.5239, allocations: 1.184 MB / 0.7985 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.5239, allocations: 8.031 kB / 0.7985 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.524, allocations: 98.5 kB / 0.7986 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.5254, allocations: 234.8 kB / 0.7989 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/0.5261, allocations: 0.5992 MB / 0.7994 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.5261, allocations: 37 kB / 0.7995 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.5262, allocations: 48 kB / 0.7995 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.5275, allocations: 0.9726 MB / 0.8005 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.5275, allocations: 0.75 kB / 0.8005 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.443e-05/0.5276, allocations: 24 kB / 0.8005 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/0.5277, allocations: 31.92 kB / 0.8005 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.529, allocations: 0.9446 MB / 0.8014 GB, free: 11.36 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.004214/0.5332, allocations: 4.19 MB / 0.8055 GB, free: 7 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008405/0.5341, allocations: 0.6062 MB / 0.8061 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006857/0.5348, allocations: 0.5141 MB / 0.8066 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008501/0.5356, allocations: 0.8939 MB / 0.8075 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.5357, allocations: 43 kB / 0.8075 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001281/0.537, allocations: 361.2 kB / 0.8079 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=50): time 1.844e-06/0.537, allocations: 3.938 kB / 0.8079 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of matching and sorting (n=50): time 0.01623/0.5532, allocations: 3.689 MB / 0.8115 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.5533, allocations: 55.84 kB / 0.8116 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000722/0.554, allocations: 0.7116 MB / 0.8122 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.423e-05/0.5541, allocations: 37.7 kB / 0.8123 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.5543, allocations: 324.6 kB / 0.8126 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.5544, allocations: 173.4 kB / 0.8128 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-05/0.5545, allocations: 45.7 kB / 0.8128 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.594e-05/0.5546, allocations: 326 kB / 0.8131 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006072/0.5552, allocations: 404.9 kB / 0.8135 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006462/0.5559, allocations: 493.5 kB / 0.814 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.5572, allocations: 0.9297 MB / 0.8149 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5572, allocations: 0 / 0.8149 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01047/0.5677, allocations: 2.482 MB / 0.8173 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.5677, allocations: 4.125 kB / 0.8173 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5677, allocations: 8 kB / 0.8173 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008669/0.5764, allocations: 1.547 MB / 0.8188 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.5768, allocations: 95.88 kB / 0.8189 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.5873, allocations: 6.569 MB / 0.8253 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005906/0.5879, allocations: 27.92 kB / 0.8254 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.692e-05/0.588, allocations: 47.88 kB / 0.8254 GB, free: 2.008 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.0002738/0.5883, allocations: 217.7 kB / 0.8256 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.5884, allocations: 82.97 kB / 0.8257 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00472/0.5932, allocations: 1.677 MB / 0.8273 GB, free: 12 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.5932, allocations: 4 kB / 0.8273 GB, free: 8 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.5932, allocations: 4 kB / 0.8273 GB, free: 4 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.5932, allocations: 3.984 kB / 0.8273 GB, free: 0 / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00518/0.5984, allocations: 2.489 MB / 0.8298 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.5984, allocations: 0 / 0.8298 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.5988, allocations: 91.89 kB / 0.8299 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003088/0.6019, allocations: 0.6581 MB / 0.8305 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.6019, allocations: 23.92 kB / 0.8305 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005616/0.6076, allocations: 4.409 MB / 0.8348 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.6076, allocations: 4 kB / 0.8348 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004711/0.6123, allocations: 2.1 MB / 0.8369 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.6126, allocations: 231.9 kB / 0.8371 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.887e-05/0.6127, allocations: 12 kB / 0.8371 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/0.6132, allocations: 39.88 kB / 0.8372 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.6134, allocations: 52.44 kB / 0.8372 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.6134, allocations: 23.98 kB / 0.8372 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005114/0.6139, allocations: 0.4951 MB / 0.8377 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6139, allocations: 0 / 0.8377 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007017/0.6147, allocations: 287.8 kB / 0.838 GB, free: 4.688 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.005228/0.6199, allocations: 2.76 MB / 0.8407 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002893/0.6228, allocations: 1.429 MB / 0.8421 GB, free: 436 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6228, allocations: 0 / 0.8421 GB, free: 436 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.6244, allocations: 0.8913 MB / 0.8429 GB, free: 15.51 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.6264, allocations: 441.1 kB / 0.8434 GB, free: 15.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02736/0.6538, allocations: 10.83 MB / 0.8539 GB, free: 4.105 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.6543, allocations: 0.9828 MB / 0.8549 GB, free: 3.094 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005124/0.6548, allocations: 158.6 kB / 0.8551 GB, free: 2.934 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/0.6551, allocations: 283.3 kB / 0.8553 GB, free: 2.656 MB / 0.67 GB Notification: Performance of SimCode: time 3.11e-07/0.6551, allocations: 0 / 0.8553 GB, free: 2.656 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.108/2.763, allocations: 27.97 MB / 0.8826 GB, free: 206.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/2.763, allocations: 268.3 kB / 0.8829 GB, free: 206.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/5.017, allocations: 1.438 kB / 0.8829 GB, free: 206.2 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)