Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8533/0.8533, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 180.8 kB / 182.2 MB, free: 9.441 MB / 154.7 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 / 436.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009891/0.0009891, allocations: 95.97 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 276.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.789e-05/1.808e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4513/0.4513, allocations: 82.77 MB / 0.7574 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.312/4.764, allocations: 1.87 GB / 2.627 GB, free: 87.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/4.764, allocations: 86.42 kB / 2.627 GB, free: 87.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.386/6.15, allocations: 355.9 MB / 2.975 GB, free: 158 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.403e-06/6.15, allocations: 4 kB / 2.975 GB, free: 158 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.263e-05/6.15, allocations: 12.91 kB / 2.975 GB, free: 158 MB / 0.6823 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.001279/6.151, allocations: 0.7637 MB / 2.976 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/6.151, allocations: 13.41 kB / 2.976 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/6.153, allocations: 173.2 kB / 2.976 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/6.153, allocations: 379.4 kB / 2.976 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/6.153, allocations: 8.75 kB / 2.976 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/6.153, allocations: 23.06 kB / 2.976 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003561/6.154, allocations: 197.3 kB / 2.976 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/6.154, allocations: 312.2 kB / 2.977 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/6.154, allocations: 9.312 kB / 2.977 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/6.154, allocations: 0 / 2.977 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/6.154, allocations: 7.781 kB / 2.977 GB, free: 157.3 MB / 0.6823 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.001455/6.156, allocations: 1.685 MB / 2.978 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/6.156, allocations: 161.7 kB / 2.979 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/6.156, allocations: 89.06 kB / 2.979 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007355/6.157, allocations: 0.8644 MB / 2.979 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/6.157, allocations: 33.75 kB / 2.979 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/6.157, allocations: 0 / 2.979 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.0007229/6.158, allocations: 269.9 kB / 2.98 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/6.158, allocations: 54.58 kB / 2.98 GB, free: 155 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/6.158, allocations: 258.8 kB / 2.98 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/6.158, allocations: 26.67 kB / 2.98 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/6.158, allocations: 219.6 kB / 2.98 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/6.158, allocations: 82.92 kB / 2.98 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/6.158, allocations: 0.9688 kB / 2.98 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/6.158, allocations: 347.7 kB / 2.981 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.901e-05/6.158, allocations: 57.03 kB / 2.981 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/6.158, allocations: 106.1 kB / 2.981 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/6.159, allocations: 122.6 kB / 2.981 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/6.159, allocations: 0 / 2.981 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004751/6.159, allocations: 269.1 kB / 2.981 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/6.159, allocations: 11.59 kB / 2.981 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/6.159, allocations: 0 / 2.981 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/6.159, allocations: 3.75 kB / 2.981 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/6.16, allocations: 50.59 kB / 2.981 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/6.16, allocations: 7.359 kB / 2.981 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/6.16, allocations: 32.61 kB / 2.981 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/6.16, allocations: 12.28 kB / 2.981 GB, free: 154.3 MB / 0.6823 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.536e-05/6.16, allocations: 112.7 kB / 2.981 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004362/6.16, allocations: 241.7 kB / 2.982 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/6.16, allocations: 38.34 kB / 2.982 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005589/6.161, allocations: 267.4 kB / 2.982 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/6.161, allocations: 3.312 kB / 2.982 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/6.161, allocations: 3.75 kB / 2.982 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/6.161, allocations: 0 / 2.982 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/6.162, allocations: 0.754 MB / 2.983 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/6.162, allocations: 2.25 kB / 2.983 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/6.162, allocations: 53.22 kB / 2.983 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/6.162, allocations: 2.812 kB / 2.983 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/6.162, allocations: 7.094 kB / 2.983 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/6.162, allocations: 7.922 kB / 2.983 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/6.162, allocations: 0 / 2.983 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006278/6.163, allocations: 0.5417 MB / 2.983 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/6.163, allocations: 128.2 kB / 2.983 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/6.163, allocations: 5.922 kB / 2.983 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/6.164, allocations: 26.42 kB / 2.983 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/6.164, allocations: 21.17 kB / 2.983 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/6.164, allocations: 6.906 kB / 2.983 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001498/6.164, allocations: 210.3 kB / 2.984 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/6.164, allocations: 3.469 kB / 2.984 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006496/6.164, allocations: 200.8 kB / 2.984 GB, free: 153.2 MB / 0.6823 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.002581/6.167, allocations: 2.752 MB / 2.987 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003127/6.167, allocations: 154.8 kB / 2.987 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/6.167, allocations: 0 / 2.987 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/6.167, allocations: 89.91 kB / 2.987 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008112/6.168, allocations: 149.9 kB / 2.987 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/6.17, allocations: 0.7672 MB / 2.988 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/6.17, allocations: 0.8352 MB / 2.988 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002551/6.17, allocations: 64.28 kB / 2.989 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/6.17, allocations: 129.8 kB / 2.989 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of SimCode: time 4.51e-07/6.17, allocations: 2.875 kB / 2.989 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/6.209, allocations: 17.86 MB / 3.006 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/6.209, allocations: 174 kB / 3.006 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/8.694, allocations: 0 / 3.006 GB, free: 150.4 MB / 0.6823 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)