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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 105 kB / 15.98 MB, free: 6.355 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.00112/0.00112, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.161/1.161, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6322/0.6322, allocations: 115.3 MB / 406.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 67.89 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2586, allocations: 76.16 MB / 0.556 GB, free: 36.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.1422/0.4008, allocations: 171.5 MB / 0.7235 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003069/0.4039, allocations: 2.293 MB / 0.7257 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004244/0.4044, allocations: 11.94 kB / 0.7257 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006276/0.405, allocations: 190.9 kB / 0.7259 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.4069, allocations: 0.8823 MB / 0.7268 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.4085, allocations: 0.762 MB / 0.7275 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.4096, allocations: 0.9624 MB / 0.7285 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004471/0.4101, allocations: 326.9 kB / 0.7288 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006884/0.4108, allocations: 462.2 kB / 0.7292 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.4112, allocations: 334.6 kB / 0.7295 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.505e-05/0.4113, allocations: 32 kB / 0.7296 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.4126, allocations: 1.021 MB / 0.7306 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.4128, allocations: 151.5 kB / 0.7307 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.413, allocations: 234.9 kB / 0.7309 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.4143, allocations: 0.9621 MB / 0.7319 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.4143, allocations: 0 / 0.7319 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4143, allocations: 3.984 kB / 0.7319 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.4143, allocations: 4 kB / 0.7319 GB, free: 15.98 MB / 0.5762 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.001125/0.4155, allocations: 0.806 MB / 0.7327 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.4155, allocations: 12.03 kB / 0.7327 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.806e-05/0.4156, allocations: 62.55 kB / 0.7327 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.4167, allocations: 183.1 kB / 0.7329 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.4172, allocations: 373.5 kB / 0.7333 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.4172, allocations: 24.66 kB / 0.7333 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.4173, allocations: 31.91 kB / 0.7333 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00054/0.4178, allocations: 377 kB / 0.7337 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.4179, allocations: 3.984 kB / 0.7337 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.4179, allocations: 19.98 kB / 0.7337 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.4179, allocations: 11.94 kB / 0.7337 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.4184, allocations: 258 kB / 0.7339 GB, free: 13.73 MB / 0.5762 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.001528/0.4199, allocations: 1.668 MB / 0.7356 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.4203, allocations: 208.7 kB / 0.7358 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.4204, allocations: 120.8 kB / 0.7359 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008944/0.4214, allocations: 0.8701 MB / 0.7367 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.4214, allocations: 34.56 kB / 0.7368 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.302e-06/0.4214, allocations: 0 / 0.7368 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0007823/0.4222, allocations: 363.2 kB / 0.7371 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.4222, allocations: 55.41 kB / 0.7372 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.4226, allocations: 425.8 kB / 0.7376 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.4226, allocations: 29.7 kB / 0.7376 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.4227, allocations: 208.3 kB / 0.7378 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.4228, allocations: 90.73 kB / 0.7379 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-05/0.4229, allocations: 49.7 kB / 0.7379 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.423, allocations: 358.7 kB / 0.7383 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.4232, allocations: 75.95 kB / 0.7384 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.4233, allocations: 121 kB / 0.7385 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.4237, allocations: 217.7 kB / 0.7387 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4237, allocations: 0 / 0.7387 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004647/0.4242, allocations: 280.9 kB / 0.7389 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.4242, allocations: 4 kB / 0.739 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4242, allocations: 4 kB / 0.739 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.4242, allocations: 0 / 0.739 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.4244, allocations: 55.91 kB / 0.739 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.4245, allocations: 11.97 kB / 0.739 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.4247, allocations: 31.67 kB / 0.739 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.4247, allocations: 12 kB / 0.7391 GB, free: 8.078 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.4249, allocations: 165.8 kB / 0.7392 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.4249, allocations: 39.53 kB / 0.7393 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004971/0.4254, allocations: 289.8 kB / 0.7395 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4254, allocations: 0 / 0.7395 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4254, allocations: 7.938 kB / 0.7395 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4255, allocations: 0 / 0.7395 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.4265, allocations: 0.809 MB / 0.7403 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4265, allocations: 4 kB / 0.7403 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.4267, allocations: 47.97 kB / 0.7404 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4267, allocations: 112 / 0.7404 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.4268, allocations: 11.94 kB / 0.7404 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4268, allocations: 12.06 kB / 0.7404 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4268, allocations: 4 kB / 0.7404 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006631/0.4274, allocations: 0.5169 MB / 0.7409 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.4276, allocations: 144.6 kB / 0.741 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/0.4276, allocations: 8 kB / 0.7411 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.4279, allocations: 19.98 kB / 0.7411 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.428, allocations: 19.97 kB / 0.7411 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.428, allocations: 15.94 kB / 0.7411 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002625/0.4283, allocations: 299.1 kB / 0.7414 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4283, allocations: 0 / 0.7414 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003811/0.4287, allocations: 119.8 kB / 0.7415 GB, free: 5.422 MB / 0.5762 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 (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.001121/0.4298, allocations: 1.127 MB / 0.7426 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000435/0.4302, allocations: 220.3 kB / 0.7428 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4302, allocations: 0 / 0.7428 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.4304, allocations: 107.8 kB / 0.7429 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009628/0.4314, allocations: 237.9 kB / 0.7432 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1801/0.6115, allocations: 3.833 MB / 0.7469 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.6118, allocations: 0.8269 MB / 0.7477 GB, free: 174 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003765/0.6122, allocations: 83.92 kB / 0.7478 GB, free: 174 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.6124, allocations: 140.3 kB / 0.7479 GB, free: 174 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/0.6124, allocations: 0.7812 kB / 0.7479 GB, free: 174 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.017/3.629, allocations: 11.82 MB / 0.7595 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/3.629, allocations: 233.2 kB / 0.7597 GB, free: 173 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.346/7.976, allocations: 4 kB / 0.7597 GB, free: 173 MB / 0.5762 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/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)