Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",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.004533/0.004538, allocations: 95.48 kB / 15.73 MB, free: 6.484 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.001188/0.001188, allocations: 191.2 kB / 16.67 MB, free: 6.391 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002495/0.002495, allocations: 278.5 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 27.62/27.62, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 103.8 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2222, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.848/1.07, allocations: 202 MB / 0.9631 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01384/1.084, allocations: 7.392 MB / 0.9703 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/1.086, allocations: 35.81 kB / 0.9704 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002502/1.089, allocations: 0.6914 MB / 0.971 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008134/1.097, allocations: 2.407 MB / 0.9734 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004408/1.102, allocations: 1.239 MB / 0.9746 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00534/1.107, allocations: 2.901 MB / 0.9774 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001982/1.109, allocations: 0.9508 MB / 0.9784 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002623/1.112, allocations: 1.024 MB / 0.9794 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002721/1.114, allocations: 0.9617 MB / 0.9803 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004451/1.115, allocations: 112 kB / 0.9804 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005565/1.12, allocations: 2.128 MB / 0.9825 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008816/1.121, allocations: 454.8 kB / 0.9829 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001804/1.123, allocations: 0.6573 MB / 0.9836 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006566/1.13, allocations: 2.42 MB / 0.9859 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/1.13, allocations: 0 / 0.9859 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.815e-06/1.13, allocations: 0 / 0.9859 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.543e-05/1.13, allocations: 0 / 0.9859 GB, free: 1.625 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.005838/1.136, allocations: 1.669 MB / 0.9876 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.136, allocations: 8.031 kB / 0.9876 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002265/1.136, allocations: 135.3 kB / 0.9877 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002679/1.139, allocations: 382.9 kB / 0.9881 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/1.14, allocations: 0.8596 MB / 0.9889 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.637e-05/1.141, allocations: 67.62 kB / 0.989 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/1.141, allocations: 84 kB / 0.9891 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/1.143, allocations: 1.042 MB / 0.9901 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/1.143, allocations: 0 / 0.9901 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.326e-05/1.143, allocations: 36 kB / 0.9901 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.389e-05/1.143, allocations: 41.98 kB / 0.9901 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/1.144, allocations: 0.8861 MB / 0.991 GB, free: 12.29 MB / 0.7481 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.005806/1.15, allocations: 4.305 MB / 0.9952 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/1.152, allocations: 0.6934 MB / 0.9959 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008515/1.152, allocations: 475.5 kB / 0.9963 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007924/1.153, allocations: 0.6654 MB / 0.997 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/1.153, allocations: 47.12 kB / 0.997 GB, free: 5.59 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 3.386e-06/1.153, allocations: 0 / 0.997 GB, free: 5.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.002138/1.155, allocations: 0.9905 MB / 0.998 GB, free: 4.598 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/1.156, allocations: 59.97 kB / 0.9981 GB, free: 4.527 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000877/1.156, allocations: 0.6334 MB / 0.9987 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.65e-05/1.156, allocations: 41.7 kB / 0.9987 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00038/1.157, allocations: 444.8 kB / 0.9991 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002921/1.157, allocations: 265.7 kB / 0.9994 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/1.157, allocations: 118.3 kB / 0.9995 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002227/1.158, allocations: 398.6 kB / 0.9999 GB, free: 2.617 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/1.158, allocations: 277.2 kB / 1 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/1.159, allocations: 353.1 kB / 1 GB, free: 1.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/1.16, allocations: 0.6626 MB / 1.001 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.16, allocations: 1.125 kB / 1.001 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00147/1.161, allocations: 0.8013 MB / 1.002 GB, free: 500 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/1.161, allocations: 4 kB / 1.002 GB, free: 496 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.161, allocations: 0 / 1.002 GB, free: 496 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/1.161, allocations: 8 kB / 1.002 GB, free: 488 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/1.162, allocations: 143.8 kB / 1.002 GB, free: 344 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/1.162, allocations: 4 kB / 1.002 GB, free: 340 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007689/1.163, allocations: 59.5 kB / 1.002 GB, free: 280 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/1.163, allocations: 23.98 kB / 1.002 GB, free: 256 kB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0005303/1.163, allocations: 285.8 kB / 1.002 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/1.164, allocations: 87.48 kB / 1.003 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/1.165, allocations: 0.8024 MB / 1.003 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/1.165, allocations: 5.125 kB / 1.003 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.165, allocations: 7.938 kB / 1.003 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00118/1.166, allocations: 0.8153 MB / 1.004 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/1.169, allocations: 1.857 MB / 1.006 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.169, allocations: 0 / 1.006 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008492/1.17, allocations: 171.8 kB / 1.006 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/1.17, allocations: 0 / 1.006 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/1.17, allocations: 20 kB / 1.006 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.17, allocations: 3.875 kB / 1.006 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.17, allocations: 0 / 1.006 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/1.172, allocations: 1.199 MB / 1.007 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/1.173, allocations: 248.4 kB / 1.008 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/1.173, allocations: 16 kB / 1.008 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006425/1.173, allocations: 26.02 kB / 1.008 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/1.174, allocations: 40.5 kB / 1.008 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-05/1.174, allocations: 31.92 kB / 1.008 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006275/1.174, allocations: 459 kB / 1.008 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/1.174, allocations: 0 / 1.008 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001064/1.175, allocations: 335.3 kB / 1.008 GB, free: 9.723 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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.002515/1.178, allocations: 1.845 MB / 1.01 GB, free: 7.852 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00128/1.179, allocations: 0.6759 MB / 1.011 GB, free: 7.18 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.179, allocations: 4.125 kB / 1.011 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005662/1.18, allocations: 371 kB / 1.011 GB, free: 6.812 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/1.182, allocations: 0.5465 MB / 1.012 GB, free: 6.285 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/1.193, allocations: 6.983 MB / 1.019 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008118/1.194, allocations: 1.089 MB / 1.02 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0009447/1.195, allocations: 219.2 kB / 1.02 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005448/1.196, allocations: 359.3 kB / 1.02 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of SimCode: time 1.322e-06/1.196, allocations: 0 / 1.02 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06571/1.261, allocations: 25.3 MB / 1.045 GB, free: 4.566 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.405/10.67, allocations: 15.77 kB / 1.045 GB, free: 4.555 MB / 0.795 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)