Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow",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.005452/0.005452, allocations: 99.38 kB / 15.73 MB, free: 6.023 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.001048/0.001048, allocations: 187.6 kB / 16.67 MB, free: 5.961 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9671/0.9671, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 67.88 kB / 0.5851 GB, free: 3.816 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.4667, allocations: 80.91 MB / 0.6641 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.232/0.6987, allocations: 204.2 MB / 0.8635 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.5042/1.203, allocations: 6.344 MB / 0.8697 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/1.205, allocations: 35.19 kB / 0.8697 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00192/1.206, allocations: 0.7272 MB / 0.8705 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006964/1.214, allocations: 2.673 MB / 0.8731 GB, free: 1.918 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001887/1.215, allocations: 0.7089 MB / 0.8738 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005345/1.221, allocations: 3.274 MB / 0.877 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/1.223, allocations: 1.149 MB / 0.8781 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003314/1.226, allocations: 1.27 MB / 0.8793 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003219/1.229, allocations: 1.095 MB / 0.8804 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00039/1.23, allocations: 128.5 kB / 0.8805 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006373/1.236, allocations: 2.355 MB / 0.8828 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008406/1.237, allocations: 0.5149 MB / 0.8833 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00153/1.239, allocations: 0.7375 MB / 0.884 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005902/1.244, allocations: 2.798 MB / 0.8868 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/1.244, allocations: 2.125 kB / 0.8868 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.803e-06/1.244, allocations: 1.094 kB / 0.8868 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.247e-05/1.245, allocations: 0 / 0.8868 GB, free: 1.609 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004724/1.249, allocations: 1.771 MB / 0.8885 GB, free: 16.79 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.249, allocations: 9.312 kB / 0.8885 GB, free: 16.79 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002199/1.25, allocations: 166.2 kB / 0.8887 GB, free: 16.74 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/1.252, allocations: 342.4 kB / 0.889 GB, free: 16.68 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/1.254, allocations: 0.8761 MB / 0.8898 GB, free: 16.36 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-05/1.254, allocations: 74.33 kB / 0.8899 GB, free: 16.36 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/1.254, allocations: 104.2 kB / 0.89 GB, free: 16.36 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/1.256, allocations: 1.192 MB / 0.8912 GB, free: 16.28 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/1.256, allocations: 0.5625 kB / 0.8912 GB, free: 16.28 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/1.256, allocations: 46.12 kB / 0.8912 GB, free: 16.28 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/1.256, allocations: 61.56 kB / 0.8913 GB, free: 16.27 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/1.258, allocations: 1.246 MB / 0.8925 GB, free: 16.26 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.006922/1.265, allocations: 5.091 MB / 0.8975 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/1.267, allocations: 1.144 MB / 0.8986 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006162/1.267, allocations: 0.5065 MB / 0.8991 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 5.932e-05/1.267, allocations: 25.38 kB / 0.8991 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006502/1.268, allocations: 484.5 kB / 0.8996 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 2.825e-06/1.268, allocations: 1.203 kB / 0.8996 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.001818/1.27, allocations: 1.155 MB / 0.9007 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/1.27, allocations: 57.91 kB / 0.9008 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006146/1.271, allocations: 0.5744 MB / 0.9013 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.883e-05/1.271, allocations: 39.58 kB / 0.9014 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/1.271, allocations: 469.2 kB / 0.9018 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/1.271, allocations: 269.8 kB / 0.9021 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/1.271, allocations: 128.7 kB / 0.9022 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.271, allocations: 393.4 kB / 0.9026 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/1.272, allocations: 329.3 kB / 0.9029 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/1.272, allocations: 460.7 kB / 0.9033 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009532/1.273, allocations: 0.8243 MB / 0.9041 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.273, allocations: 4.094 kB / 0.9041 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001199/1.275, allocations: 0.9244 MB / 0.905 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/1.275, allocations: 8.969 kB / 0.905 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.275, allocations: 2.781 kB / 0.905 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/1.275, allocations: 5.188 kB / 0.905 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/1.275, allocations: 152.7 kB / 0.9052 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/1.275, allocations: 6.062 kB / 0.9052 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008405/1.276, allocations: 73.06 kB / 0.9053 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/1.276, allocations: 25.03 kB / 0.9053 GB, free: 11.93 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004974/1.277, allocations: 342.9 kB / 0.9056 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/1.277, allocations: 82 kB / 0.9057 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/1.277, allocations: 108.1 kB / 0.9058 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/1.277, allocations: 8.594 kB / 0.9058 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/1.277, allocations: 0 / 0.9058 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/1.278, allocations: 1.085 MB / 0.9069 GB, free: 11.3 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 postOpt removeSimpleEquations (simulation): time 0.002966/1.281, allocations: 2.307 MB / 0.9091 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.281, allocations: 6.688 kB / 0.9091 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008084/1.282, allocations: 176 kB / 0.9093 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/1.282, allocations: 3.125 kB / 0.9093 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/1.282, allocations: 25.12 kB / 0.9093 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.282, allocations: 6.75 kB / 0.9093 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.282, allocations: 0 / 0.9093 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/1.284, allocations: 1.478 MB / 0.9108 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005635/1.285, allocations: 253.1 kB / 0.911 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/1.285, allocations: 22.62 kB / 0.911 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006024/1.285, allocations: 27.02 kB / 0.9111 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.592e-05/1.285, allocations: 38.34 kB / 0.9111 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-05/1.285, allocations: 28.81 kB / 0.9111 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005002/1.286, allocations: 414.2 kB / 0.9115 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/1.286, allocations: 0.8125 kB / 0.9115 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001119/1.287, allocations: 373.8 kB / 0.9119 GB, free: 10.3 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002169/1.289, allocations: 2.097 MB / 0.9139 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001325/1.291, allocations: 0.8027 MB / 0.9147 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.291, allocations: 2.969 kB / 0.9147 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005338/1.291, allocations: 435.5 kB / 0.9151 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/1.294, allocations: 0.5884 MB / 0.9157 GB, free: 9.469 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009181/1.303, allocations: 7.208 MB / 0.9227 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006833/1.304, allocations: 1.139 MB / 0.9238 GB, free: 6.652 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00112/1.305, allocations: 281.4 kB / 0.9241 GB, free: 6.586 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005329/1.305, allocations: 376.7 kB / 0.9245 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of SimCode: time 1.122e-06/1.305, allocations: 0 / 0.9245 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06914/1.375, allocations: 26.41 MB / 0.9503 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.839/10.21, allocations: 5.281 kB / 0.9503 GB, free: 8.105 MB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)