Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",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.001625/0.001625, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001807/0.001807, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.562/2.562, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003717, allocations: 8 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9128/0.9132, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1938/1.107, allocations: 141.7 MB / 1.092 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01567/1.123, allocations: 7.694 MB / 1.099 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002232/1.125, allocations: 35.75 kB / 1.099 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002349/1.127, allocations: 0.591 MB / 1.1 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005625/1.133, allocations: 1.511 MB / 1.102 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004347/1.137, allocations: 1.237 MB / 1.103 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003848/1.141, allocations: 1.625 MB / 1.104 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/1.143, allocations: 0.728 MB / 1.105 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/1.145, allocations: 0.759 MB / 1.106 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/1.146, allocations: 0.6887 MB / 1.106 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/1.146, allocations: 44 kB / 1.106 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/1.148, allocations: 0.866 MB / 1.107 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002795/1.149, allocations: 207.1 kB / 1.108 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003564/1.149, allocations: 245.1 kB / 1.108 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001824/1.151, allocations: 1.208 MB / 1.109 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/1.151, allocations: 0 / 1.109 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/1.151, allocations: 0 / 1.109 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.605e-05/1.151, allocations: 0 / 1.109 GB, free: 0.6797 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002681/1.154, allocations: 1.372 MB / 1.11 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/1.154, allocations: 8.031 kB / 1.11 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001618/1.154, allocations: 126.8 kB / 1.11 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/1.154, allocations: 134.5 kB / 1.111 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/1.156, allocations: 0.7815 MB / 1.111 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/1.156, allocations: 62 kB / 1.111 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/1.156, allocations: 76 kB / 1.111 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/1.157, allocations: 0.8654 MB / 1.112 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/1.157, allocations: 0 / 1.112 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.938e-05/1.157, allocations: 32 kB / 1.112 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/1.157, allocations: 20 kB / 1.112 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/1.159, allocations: 0.6401 MB / 1.113 GB, free: 12.42 MB / 0.8731 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.004948/1.163, allocations: 3.977 MB / 1.117 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/1.165, allocations: 0.577 MB / 1.117 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/1.166, allocations: 1.235 MB / 1.119 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006122/1.166, allocations: 331 kB / 1.119 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=63): time 2.675e-06/1.166, allocations: 3.938 kB / 1.119 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of matching and sorting (n=63): time 0.002467/1.169, allocations: 1.143 MB / 1.12 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/1.169, allocations: 85.67 kB / 1.12 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/1.17, allocations: 0.8806 MB / 1.121 GB, free: 3.551 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.825e-05/1.17, allocations: 45.7 kB / 1.121 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/1.171, allocations: 456.2 kB / 1.121 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/1.171, allocations: 220.8 kB / 1.122 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/1.171, allocations: 8 kB / 1.122 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.171, allocations: 334 kB / 1.122 GB, free: 2.492 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/1.171, allocations: 201.2 kB / 1.122 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/1.172, allocations: 320.4 kB / 1.122 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/1.172, allocations: 242.1 kB / 1.123 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.172, allocations: 0 / 1.123 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001247/1.174, allocations: 0.721 MB / 1.123 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003896/1.174, allocations: 0.8715 MB / 1.124 GB, free: 44 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.174, allocations: 4 kB / 1.124 GB, free: 40 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005885/1.175, allocations: 108.8 kB / 1.124 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/1.175, allocations: 119.8 kB / 1.125 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006084/1.176, allocations: 0.6615 MB / 1.125 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000661/1.176, allocations: 99.42 kB / 1.125 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/1.176, allocations: 27.98 kB / 1.125 GB, free: 15 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/1.176, allocations: 5.094 kB / 1.125 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001/1.177, allocations: 0.5683 MB / 1.126 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.177, allocations: 4 kB / 1.126 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000423/1.178, allocations: 113 kB / 1.126 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/1.178, allocations: 111.9 kB / 1.126 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000546/1.179, allocations: 0.6614 MB / 1.127 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/1.179, allocations: 91.45 kB / 1.127 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/1.179, allocations: 20 kB / 1.127 GB, free: 13.4 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004857/1.18, allocations: 344.3 kB / 1.127 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/1.18, allocations: 106.8 kB / 1.127 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/1.182, allocations: 0.9461 MB / 1.128 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/1.182, allocations: 15.94 kB / 1.128 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.182, allocations: 0 / 1.128 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001273/1.183, allocations: 0.8543 MB / 1.129 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/1.186, allocations: 1.865 MB / 1.131 GB, free: 9.125 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/1.186, allocations: 0 / 1.131 GB, free: 9.125 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/1.186, allocations: 99.89 kB / 1.131 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006136/1.187, allocations: 161.6 kB / 1.131 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/1.187, allocations: 19.98 kB / 1.131 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009649/1.188, allocations: 1.253 MB / 1.132 GB, free: 7.539 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.188, allocations: 3.938 kB / 1.132 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/1.19, allocations: 1.311 MB / 1.134 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/1.191, allocations: 275.6 kB / 1.134 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/1.191, allocations: 19.95 kB / 1.134 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005413/1.191, allocations: 67.84 kB / 1.134 GB, free: 5.809 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.192, allocations: 48.53 kB / 1.134 GB, free: 5.762 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.505e-05/1.192, allocations: 23.98 kB / 1.134 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000809/1.192, allocations: 0.613 MB / 1.135 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.81e-07/1.192, allocations: 4 kB / 1.135 GB, free: 5.109 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00144/1.194, allocations: 0.5573 MB / 1.135 GB, free: 4.551 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004017/1.198, allocations: 2.592 MB / 1.138 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00201/1.2, allocations: 0.9258 MB / 1.139 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.2, allocations: 0 / 1.139 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000754/1.201, allocations: 392.5 kB / 1.139 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/1.203, allocations: 419.3 kB / 1.139 GB, free: 368 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/1.214, allocations: 7.367 MB / 1.147 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007872/1.215, allocations: 1.096 MB / 1.148 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001037/1.216, allocations: 215.1 kB / 1.148 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005519/1.216, allocations: 411.2 kB / 1.148 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of SimCode: time 1.002e-06/1.216, allocations: 0 / 1.148 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05587/1.272, allocations: 29.02 MB / 1.177 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/1.272, allocations: 267.4 kB / 1.177 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.548/3.82, allocations: 2.953 kB / 1.177 GB, free: 10.04 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat does not exist to compare? outputFormat=mat