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.8186/0.8186, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 187.5 kB / 187.3 MB, free: 11.89 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.578/1.578, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0009705/0.00097, allocations: 92.53 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002872/0.002872, allocations: 275.3 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.998e-05/5.003e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5217/0.5218, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.009/5.531, allocations: 1.87 GB / 2.635 GB, free: 136.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/5.531, allocations: 83.3 kB / 2.635 GB, free: 136.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.138/6.669, allocations: 360.1 MB / 2.987 GB, free: 60.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.343e-06/6.669, allocations: 0 / 2.987 GB, free: 60.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.551e-05/6.669, allocations: 12 kB / 2.987 GB, free: 60.69 MB / 0.698 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.001336/6.67, allocations: 0.7595 MB / 2.987 GB, free: 59.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/6.67, allocations: 8.031 kB / 2.987 GB, free: 59.88 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.716e-05/6.67, allocations: 74.48 kB / 2.987 GB, free: 59.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/6.671, allocations: 179.1 kB / 2.988 GB, free: 59.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006222/6.672, allocations: 382 kB / 2.988 GB, free: 59.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/6.672, allocations: 20.78 kB / 2.988 GB, free: 59.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/6.672, allocations: 39.95 kB / 2.988 GB, free: 59.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/6.673, allocations: 351.6 kB / 2.988 GB, free: 58.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/6.673, allocations: 0 / 2.988 GB, free: 58.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/6.673, allocations: 16 kB / 2.988 GB, free: 58.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/6.673, allocations: 8 kB / 2.988 GB, free: 58.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003435/6.673, allocations: 218.1 kB / 2.989 GB, free: 58.53 MB / 0.698 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.001738/6.675, allocations: 1.777 MB / 2.99 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/6.675, allocations: 166.6 kB / 2.99 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/6.675, allocations: 96.84 kB / 2.991 GB, free: 56.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008987/6.676, allocations: 0.874 MB / 2.991 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/6.676, allocations: 38.48 kB / 2.991 GB, free: 55.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 3.065e-06/6.676, allocations: 0 / 2.991 GB, free: 55.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0006242/6.677, allocations: 232.1 kB / 2.992 GB, free: 55.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/6.677, allocations: 59.39 kB / 2.992 GB, free: 54.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/6.677, allocations: 371.1 kB / 2.992 GB, free: 54.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/6.677, allocations: 33.7 kB / 2.992 GB, free: 54.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/6.677, allocations: 212.5 kB / 2.992 GB, free: 54.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/6.677, allocations: 74.83 kB / 2.992 GB, free: 54.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/6.677, allocations: 4.109 kB / 2.992 GB, free: 54.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.487e-05/6.678, allocations: 362.7 kB / 2.993 GB, free: 53.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.88e-05/6.678, allocations: 56.47 kB / 2.993 GB, free: 53.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/6.678, allocations: 122.2 kB / 2.993 GB, free: 53.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/6.678, allocations: 86.52 kB / 2.993 GB, free: 53.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/6.678, allocations: 0 / 2.993 GB, free: 53.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000342/6.678, allocations: 245.5 kB / 2.993 GB, free: 53.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/6.678, allocations: 4 kB / 2.993 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/6.678, allocations: 0 / 2.993 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/6.678, allocations: 4 kB / 2.993 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/6.679, allocations: 51.91 kB / 2.993 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/6.679, allocations: 8.031 kB / 2.993 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/6.679, allocations: 39.67 kB / 2.993 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/6.679, allocations: 19.98 kB / 2.993 GB, free: 53.23 MB / 0.698 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 8.778e-05/6.679, allocations: 124.8 kB / 2.993 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/6.679, allocations: 47.44 kB / 2.993 GB, free: 53.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004728/6.68, allocations: 249.2 kB / 2.994 GB, free: 52.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/6.68, allocations: 4.141 kB / 2.994 GB, free: 52.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/6.68, allocations: 0 / 2.994 GB, free: 52.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/6.68, allocations: 3.984 kB / 2.994 GB, free: 52.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/6.681, allocations: 0.7735 MB / 2.994 GB, free: 51.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/6.681, allocations: 4 kB / 2.994 GB, free: 51.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/6.681, allocations: 47.97 kB / 2.995 GB, free: 51.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/6.681, allocations: 4 kB / 2.995 GB, free: 51.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/6.681, allocations: 4 kB / 2.995 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/6.681, allocations: 3.938 kB / 2.995 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/6.681, allocations: 12.14 kB / 2.995 GB, free: 51.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000615/6.682, allocations: 0.52 MB / 2.995 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/6.682, allocations: 140.5 kB / 2.995 GB, free: 51.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/6.682, allocations: 4 kB / 2.995 GB, free: 51.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/6.682, allocations: 35.91 kB / 2.995 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/6.682, allocations: 19.94 kB / 2.995 GB, free: 51.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/6.682, allocations: 8 kB / 2.995 GB, free: 51.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003097/6.683, allocations: 297.2 kB / 2.996 GB, free: 50.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/6.683, allocations: 4 kB / 2.996 GB, free: 50.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001097/6.684, allocations: 227.8 kB / 2.996 GB, free: 50.55 MB / 0.698 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.002519/6.686, allocations: 2.594 MB / 2.998 GB, free: 47.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003668/6.687, allocations: 174.1 kB / 2.998 GB, free: 47.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/6.687, allocations: 0 / 2.998 GB, free: 47.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/6.687, allocations: 101.5 kB / 2.999 GB, free: 47.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/6.688, allocations: 205.7 kB / 2.999 GB, free: 47.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/6.69, allocations: 0.8002 MB / 3 GB, free: 46.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/6.69, allocations: 0.8314 MB / 3 GB, free: 45.69 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002951/6.69, allocations: 79.34 kB / 3 GB, free: 45.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/6.69, allocations: 139.4 kB / 3.001 GB, free: 45.47 MB / 0.698 GB Notification: Performance of SimCode: time 8.12e-07/6.69, allocations: 0 / 3.001 GB, free: 45.47 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0526/6.743, allocations: 33.09 MB / 3.033 GB, free: 12.58 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/6.743, allocations: 194.7 kB / 3.033 GB, free: 12.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.266/10.01, allocations: 0 / 3.033 GB, free: 12.36 MB / 0.698 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)