Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice",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.0007769/0.0007768, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008059/0.0008058, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.399/2.399, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003933, allocations: 8 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.643/0.6434, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1604/0.8038, allocations: 158 MB / 1.135 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003375/0.8072, allocations: 2.181 MB / 1.138 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.8075, allocations: 11.94 kB / 1.138 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005065/0.808, allocations: 154.9 kB / 1.138 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.8096, allocations: 0.6764 MB / 1.138 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.8111, allocations: 0.6056 MB / 1.139 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001096/0.8122, allocations: 1.138 MB / 1.14 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003553/0.8126, allocations: 257.5 kB / 1.14 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005651/0.8132, allocations: 410.4 kB / 1.141 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.8135, allocations: 314.7 kB / 1.141 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.794e-05/0.8136, allocations: 16 kB / 1.141 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.8147, allocations: 0.5261 MB / 1.142 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.8148, allocations: 131.6 kB / 1.142 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.815, allocations: 117.5 kB / 1.142 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006109/0.8156, allocations: 0.5573 MB / 1.142 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.8156, allocations: 0 / 1.142 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8156, allocations: 0 / 1.142 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.8156, allocations: 0 / 1.142 GB, free: 0.7422 MB / 0.8887 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.001128/0.8167, allocations: 0.7322 MB / 1.143 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.8168, allocations: 12.03 kB / 1.143 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.781e-05/0.8169, allocations: 62.53 kB / 1.143 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.8181, allocations: 179.2 kB / 1.143 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005287/0.8186, allocations: 357.8 kB / 1.144 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.8187, allocations: 32.59 kB / 1.144 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.8187, allocations: 28 kB / 1.144 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.8194, allocations: 373.1 kB / 1.144 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.8194, allocations: 7.938 kB / 1.144 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.8194, allocations: 16 kB / 1.144 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.8195, allocations: 8 kB / 1.144 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.82, allocations: 266 kB / 1.144 GB, free: 14.57 MB / 0.9044 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.001578/0.8215, allocations: 1.683 MB / 1.146 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.8219, allocations: 202.5 kB / 1.146 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.8221, allocations: 116.8 kB / 1.146 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.8233, allocations: 0.8935 MB / 1.147 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.8233, allocations: 34.5 kB / 1.147 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=23): time 2.885e-06/0.8233, allocations: 4.047 kB / 1.147 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.0009064/0.8242, allocations: 378.6 kB / 1.148 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.8243, allocations: 55.41 kB / 1.148 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004691/0.8248, allocations: 414 kB / 1.148 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.8248, allocations: 37.7 kB / 1.148 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.825, allocations: 212.2 kB / 1.148 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/0.825, allocations: 90.73 kB / 1.148 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.8251, allocations: 4 kB / 1.148 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.8252, allocations: 346.8 kB / 1.149 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.8254, allocations: 83.95 kB / 1.149 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.8256, allocations: 131.3 kB / 1.149 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.8258, allocations: 100.6 kB / 1.149 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8258, allocations: 0 / 1.149 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004763/0.8263, allocations: 293.6 kB / 1.149 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.8263, allocations: 4 kB / 1.149 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.8263, allocations: 4 kB / 1.149 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.8263, allocations: 3.953 kB / 1.149 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.8266, allocations: 63.94 kB / 1.149 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.8267, allocations: 0 / 1.149 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.827, allocations: 43.67 kB / 1.149 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.8271, allocations: 8 kB / 1.149 GB, free: 9.02 MB / 0.9044 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 () * Number of clocked 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 0.0002059/0.8273, allocations: 161.8 kB / 1.149 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.34e-05/0.8274, allocations: 47.44 kB / 1.15 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005432/0.8279, allocations: 285.8 kB / 1.15 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.8279, allocations: 7.938 kB / 1.15 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.8279, allocations: 3.953 kB / 1.15 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.828, allocations: 7.984 kB / 1.15 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.8291, allocations: 0.8153 MB / 1.151 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.8291, allocations: 0 / 1.151 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.8294, allocations: 55.91 kB / 1.151 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.8294, allocations: 0 / 1.151 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.8294, allocations: 4 kB / 1.151 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.8294, allocations: 4 kB / 1.151 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.8294, allocations: 4.125 kB / 1.151 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006975/0.8301, allocations: 0.5187 MB / 1.151 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.8303, allocations: 148.5 kB / 1.151 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.8303, allocations: 8 kB / 1.151 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.8306, allocations: 35.91 kB / 1.151 GB, free: 6.781 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.8307, allocations: 19.91 kB / 1.151 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.8307, allocations: 12 kB / 1.151 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003044/0.831, allocations: 295.1 kB / 1.152 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/0.831, allocations: 0 / 1.152 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004316/0.8314, allocations: 123.8 kB / 1.152 GB, free: 6.348 MB / 0.9044 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 () * Number of clocked 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.001276/0.8327, allocations: 1.153 MB / 1.153 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004567/0.8332, allocations: 214.6 kB / 1.153 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8332, allocations: 0 / 1.153 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.8334, allocations: 119.8 kB / 1.153 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.8345, allocations: 220.8 kB / 1.153 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.838, allocations: 2.533 MB / 1.156 GB, free: 2.012 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.8384, allocations: 0.8275 MB / 1.157 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003134/0.8387, allocations: 87.34 kB / 1.157 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.8389, allocations: 135.4 kB / 1.157 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of SimCode: time 2.81e-07/0.8389, allocations: 3.938 kB / 1.157 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.863, allocations: 11.42 MB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/0.8632, allocations: 232.8 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.859, allocations: 3.625 kB / 1.168 GB, free: 5.535 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat does not exist to compare? outputFormat=mat