Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor",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.05001/0.05001, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.04591/0.04591, allocations: 187.4 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 15.91/15.91, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002147/0.002147, allocations: 290.2 kB / 290.3 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.074/1.074, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 101.5 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2104, allocations: 86.98 MB / 0.6797 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.7878/0.9983, allocations: 164.7 MB / 0.8405 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01868/1.017, allocations: 8.438 MB / 0.8488 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004496/1.022, allocations: 33.09 kB / 0.8488 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002676/1.024, allocations: 0.4958 MB / 0.8493 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007729/1.032, allocations: 1.443 MB / 0.8507 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003901/1.036, allocations: 0.9142 MB / 0.8516 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007812/1.044, allocations: 4.12 MB / 0.8556 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002674/1.047, allocations: 1.296 MB / 0.8569 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005312/1.052, allocations: 1.505 MB / 0.8584 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00348/1.055, allocations: 1.579 MB / 0.8599 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000399/1.056, allocations: 186.9 kB / 0.8601 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003741/1.059, allocations: 1.109 MB / 0.8612 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000865/1.06, allocations: 0.6703 MB / 0.8618 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001902/1.062, allocations: 1.035 MB / 0.8628 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005201/1.068, allocations: 2.746 MB / 0.8655 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.068, allocations: 0 / 0.8655 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.274e-06/1.068, allocations: 0 / 0.8655 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.325e-05/1.068, allocations: 0 / 0.8655 GB, free: 2.793 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.005601/1.073, allocations: 2.261 MB / 0.8677 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/1.073, allocations: 12.95 kB / 0.8677 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003372/1.074, allocations: 225.9 kB / 0.8679 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005661/1.074, allocations: 193.2 kB / 0.8681 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/1.076, allocations: 1.182 MB / 0.8693 GB, free: 128 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.981e-05/1.077, allocations: 113.2 kB / 0.8694 GB, free: 76 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/1.077, allocations: 151 kB / 0.8695 GB, free: 24 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003316/1.08, allocations: 1.926 MB / 0.8714 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/1.08, allocations: 3.938 kB / 0.8714 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/1.08, allocations: 62.44 kB / 0.8715 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/1.08, allocations: 37.69 kB / 0.8715 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004065/1.084, allocations: 2.479 MB / 0.8739 GB, free: 13.7 MB / 0.5919 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.009965/1.094, allocations: 6.082 MB / 0.8799 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003829/1.098, allocations: 2.808 MB / 0.8826 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/1.1, allocations: 1.428 MB / 0.884 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001798/1.102, allocations: 1.739 MB / 0.8857 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.76e-05/1.102, allocations: 58.12 kB / 0.8858 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=237): time 3.416e-06/1.102, allocations: 0 / 0.8858 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=237): time 0.005755/1.108, allocations: 3.434 MB / 0.8891 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/1.108, allocations: 77.41 kB / 0.8892 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/1.109, allocations: 0.7627 MB / 0.8899 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/1.109, allocations: 65.7 kB / 0.89 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/1.11, allocations: 492.5 kB / 0.8905 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007351/1.111, allocations: 0.7833 MB / 0.8912 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004979/1.111, allocations: 359.5 kB / 0.8916 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.111, allocations: 301.1 kB / 0.8919 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/1.113, allocations: 0.9019 MB / 0.8927 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/1.114, allocations: 1.127 MB / 0.8938 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003566/1.118, allocations: 2.223 MB / 0.896 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.118, allocations: 0 / 0.896 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003995/1.122, allocations: 2.432 MB / 0.8984 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/1.122, allocations: 4 kB / 0.8984 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/1.122, allocations: 7.938 kB / 0.8984 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-05/1.122, allocations: 12.47 kB / 0.8984 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/1.124, allocations: 439.4 kB / 0.8988 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.462e-05/1.124, allocations: 15.94 kB / 0.8988 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/1.125, allocations: 206.3 kB / 0.899 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/1.125, allocations: 75.98 kB / 0.8991 GB, free: 5.141 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0008003/1.126, allocations: 437.3 kB / 0.8995 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/1.126, allocations: 143.9 kB / 0.8997 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004557/1.131, allocations: 2.732 MB / 0.9023 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/1.131, allocations: 24 kB / 0.9024 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/1.131, allocations: 0 / 0.9024 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003389/1.134, allocations: 2.377 MB / 0.9047 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006693/1.141, allocations: 4.295 MB / 0.9089 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.141, allocations: 0 / 0.9089 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/1.143, allocations: 403.5 kB / 0.9093 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005438/1.143, allocations: 113.6 kB / 0.9094 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/1.143, allocations: 51.97 kB / 0.9094 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007987/1.144, allocations: 1.116 MB / 0.9105 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.144, allocations: 3.938 kB / 0.9105 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005958/1.15, allocations: 4.056 MB / 0.9145 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009456/1.151, allocations: 486.5 kB / 0.9149 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/1.151, allocations: 40 kB / 0.915 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009653/1.152, allocations: 107.8 kB / 0.9151 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/1.153, allocations: 137.8 kB / 0.9152 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/1.153, allocations: 71.97 kB / 0.9153 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007138/1.153, allocations: 0.5342 MB / 0.9158 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/1.153, allocations: 4 kB / 0.9158 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00154/1.155, allocations: 0.6437 MB / 0.9164 GB, free: 3.203 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * 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 (237): * Single equations (assignments): 235 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006729/1.162, allocations: 4.878 MB / 0.9212 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009123/1.171, allocations: 4.86 MB / 0.9259 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.171, allocations: 0 / 0.9259 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001907/1.173, allocations: 1.272 MB / 0.9272 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/1.176, allocations: 0.5873 MB / 0.9278 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02139/1.197, allocations: 14.86 MB / 0.9423 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.198, allocations: 1.343 MB / 0.9436 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002232/1.2, allocations: 0.7228 MB / 0.9443 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009557/1.201, allocations: 0.6242 MB / 0.9449 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of SimCode: time 1.062e-06/1.201, allocations: 4 kB / 0.9449 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06609/1.267, allocations: 38.9 MB / 0.9829 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/1.268, allocations: 236 kB / 0.9831 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.857/4.124, allocations: 0 / 0.9831 GB, free: 14.91 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)