Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009741/0.0009741, allocations: 174.9 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4835/0.4835, allocations: 90.91 MB / 99.34 MB, free: 2.188 MB / 74.73 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 221.5 MB / 343.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 89.92 kB / 415.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.509e-05/1.513e-05, allocations: 0 / 494.6 MB, free: 52.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1358, allocations: 72.32 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.528/4.664, allocations: 1.863 GB / 2.417 GB, free: 41.76 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/4.664, allocations: 86.95 kB / 2.417 GB, free: 41.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.404/6.068, allocations: 356 MB / 2.765 GB, free: 143 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.794e-06/6.068, allocations: 3.688 kB / 2.765 GB, free: 143 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.201e-05/6.068, allocations: 7.781 kB / 2.765 GB, free: 143 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00173/6.07, allocations: 0.7681 MB / 2.765 GB, free: 142.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/6.07, allocations: 11.28 kB / 2.765 GB, free: 142.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/6.071, allocations: 167.2 kB / 2.766 GB, free: 142.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007154/6.072, allocations: 380.2 kB / 2.766 GB, free: 142.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/6.072, allocations: 11.06 kB / 2.766 GB, free: 142.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/6.072, allocations: 25.77 kB / 2.766 GB, free: 142.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003534/6.072, allocations: 197.6 kB / 2.766 GB, free: 142.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004391/6.073, allocations: 305.7 kB / 2.766 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/6.073, allocations: 0 / 2.766 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/6.073, allocations: 0 / 2.766 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/6.073, allocations: 7.531 kB / 2.766 GB, free: 142.1 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.001734/6.075, allocations: 1.679 MB / 2.768 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/6.075, allocations: 163 kB / 2.768 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/6.075, allocations: 93.17 kB / 2.768 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000754/6.076, allocations: 0.8667 MB / 2.769 GB, free: 140 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/6.076, allocations: 40.94 kB / 2.769 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/6.076, allocations: 0 / 2.769 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0007109/6.077, allocations: 262.8 kB / 2.769 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.789e-05/6.077, allocations: 55.34 kB / 2.769 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/6.077, allocations: 261 kB / 2.77 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/6.077, allocations: 25.7 kB / 2.77 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/6.077, allocations: 224.1 kB / 2.77 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/6.077, allocations: 77.34 kB / 2.77 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/6.077, allocations: 0 / 2.77 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.705e-05/6.077, allocations: 341.6 kB / 2.77 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.933e-05/6.077, allocations: 60.23 kB / 2.77 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/6.077, allocations: 112.9 kB / 2.771 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/6.078, allocations: 114.7 kB / 2.771 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/6.078, allocations: 3.953 kB / 2.771 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004408/6.078, allocations: 274 kB / 2.771 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/6.078, allocations: 3.5 kB / 2.771 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/6.078, allocations: 3.906 kB / 2.771 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/6.078, allocations: 0 / 2.771 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/6.078, allocations: 55.88 kB / 2.771 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/6.078, allocations: 6.406 kB / 2.771 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/6.079, allocations: 30.38 kB / 2.771 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/6.079, allocations: 7.344 kB / 2.771 GB, free: 139.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.124e-05/6.079, allocations: 107.7 kB / 2.771 GB, free: 139 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004174/6.079, allocations: 249.5 kB / 2.771 GB, free: 139 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/6.079, allocations: 33.78 kB / 2.771 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004969/6.08, allocations: 279.2 kB / 2.772 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/6.08, allocations: 3.25 kB / 2.772 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/6.08, allocations: 0 / 2.772 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/6.08, allocations: 2.562 kB / 2.772 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/6.081, allocations: 0.7455 MB / 2.772 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/6.081, allocations: 5.938 kB / 2.772 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/6.081, allocations: 42.36 kB / 2.772 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/6.081, allocations: 7.688 kB / 2.772 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/6.081, allocations: 7.688 kB / 2.772 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/6.081, allocations: 5.844 kB / 2.772 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/6.081, allocations: 0 / 2.772 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006372/6.082, allocations: 0.5457 MB / 2.773 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/6.082, allocations: 130.8 kB / 2.773 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/6.082, allocations: 3.906 kB / 2.773 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/6.082, allocations: 28.5 kB / 2.773 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/6.082, allocations: 23.91 kB / 2.773 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/6.082, allocations: 6.062 kB / 2.773 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001577/6.082, allocations: 210.2 kB / 2.773 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/6.082, allocations: 0 / 2.773 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006527/6.083, allocations: 197 kB / 2.774 GB, free: 138.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002295/6.085, allocations: 2.754 MB / 2.776 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002828/6.086, allocations: 165 kB / 2.776 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/6.086, allocations: 0 / 2.776 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/6.086, allocations: 94.5 kB / 2.776 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007639/6.087, allocations: 147.3 kB / 2.777 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/6.088, allocations: 0.7653 MB / 2.777 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/6.088, allocations: 0.8338 MB / 2.778 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002561/6.089, allocations: 68.7 kB / 2.778 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/6.089, allocations: 127.9 kB / 2.778 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/6.089, allocations: 3.156 kB / 2.778 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03919/6.128, allocations: 17.85 MB / 2.796 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/6.128, allocations: 160.3 kB / 2.796 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.424/8.552, allocations: 0 / 2.796 GB, free: 132.9 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)