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.001234/0.001234, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.193/1.193, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.616/0.616, allocations: 115.3 MB / 406 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 66.95 kB / 493 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1194, allocations: 76.18 MB / 0.5558 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.3608/0.4802, allocations: 171.5 MB / 0.7234 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003304/0.4835, allocations: 2.324 MB / 0.7256 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000438/0.484, allocations: 11.94 kB / 0.7256 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006742/0.4847, allocations: 186.9 kB / 0.7258 GB, free: 8.879 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.4866, allocations: 0.8831 MB / 0.7267 GB, free: 7.992 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.4883, allocations: 0.7531 MB / 0.7274 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.4896, allocations: 1.341 MB / 0.7287 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004638/0.4901, allocations: 290.2 kB / 0.729 GB, free: 5.613 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007343/0.4908, allocations: 418.3 kB / 0.7294 GB, free: 5.203 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004498/0.4913, allocations: 322.7 kB / 0.7297 GB, free: 4.887 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.484e-05/0.4914, allocations: 20 kB / 0.7297 GB, free: 4.867 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.493, allocations: 1.169 MB / 0.7309 GB, free: 3.695 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.4932, allocations: 139.5 kB / 0.731 GB, free: 3.559 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.4935, allocations: 230.9 kB / 0.7312 GB, free: 3.332 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.4948, allocations: 0.9503 MB / 0.7322 GB, free: 2.379 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4948, allocations: 0 / 0.7322 GB, free: 2.379 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.52e-07/0.4948, allocations: 0 / 0.7322 GB, free: 2.379 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.435e-06/0.4948, allocations: 4 kB / 0.7322 GB, free: 2.375 MB / 0.545 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.001155/0.496, allocations: 0.8068 MB / 0.7329 GB, free: 1.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.496, allocations: 8.031 kB / 0.7329 GB, free: 1.512 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.501e-05/0.4961, allocations: 66.55 kB / 0.733 GB, free: 1.438 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.4972, allocations: 191.1 kB / 0.7332 GB, free: 1.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.4977, allocations: 365.5 kB / 0.7335 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.4977, allocations: 24.66 kB / 0.7336 GB, free: 0.832 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.4978, allocations: 35.91 kB / 0.7336 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.4983, allocations: 369.1 kB / 0.734 GB, free: 420 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4983, allocations: 7.5 kB / 0.734 GB, free: 416 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.4984, allocations: 8 kB / 0.734 GB, free: 408 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.4984, allocations: 12 kB / 0.734 GB, free: 396 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.4988, allocations: 265.8 kB / 0.7342 GB, free: 132 kB / 0.545 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.00156/0.5004, allocations: 1.675 MB / 0.7359 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.5008, allocations: 202.5 kB / 0.7361 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.501, allocations: 116.8 kB / 0.7362 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009108/0.5019, allocations: 0.8662 MB / 0.737 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.5019, allocations: 34.56 kB / 0.7371 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=23): time 1.263e-06/0.5019, allocations: 0 / 0.7371 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.0007897/0.5027, allocations: 365 kB / 0.7374 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.5028, allocations: 59.34 kB / 0.7375 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.5032, allocations: 421.9 kB / 0.7379 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.5032, allocations: 29.7 kB / 0.7379 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.5033, allocations: 216.3 kB / 0.7381 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/0.5034, allocations: 82.75 kB / 0.7382 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/0.5035, allocations: 49.7 kB / 0.7382 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5036, allocations: 358.7 kB / 0.7386 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.5038, allocations: 75.95 kB / 0.7386 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.504, allocations: 120.3 kB / 0.7388 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.5044, allocations: 211.3 kB / 0.739 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5044, allocations: 4 kB / 0.739 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004739/0.5049, allocations: 286.5 kB / 0.7392 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.5049, allocations: 4 kB / 0.7392 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5049, allocations: 0 / 0.7392 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.5049, allocations: 8.031 kB / 0.7392 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.5051, allocations: 51.91 kB / 0.7393 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.5051, allocations: 0 / 0.7393 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.5054, allocations: 43.7 kB / 0.7393 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.5054, allocations: 8 kB / 0.7393 GB, free: 10.48 MB / 0.5606 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.0001488/0.5055, allocations: 169.9 kB / 0.7395 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.565e-05/0.5056, allocations: 47.45 kB / 0.7395 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005788/0.5062, allocations: 286 kB / 0.7398 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.5062, allocations: 4 kB / 0.7398 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5062, allocations: 2.375 kB / 0.7398 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5062, allocations: 3.938 kB / 0.7398 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.5073, allocations: 0.8074 MB / 0.7406 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.5073, allocations: 3.938 kB / 0.7406 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.5075, allocations: 44.16 kB / 0.7407 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.5076, allocations: 8 kB / 0.7407 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.5076, allocations: 8 kB / 0.7407 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.5076, allocations: 3.938 kB / 0.7407 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5076, allocations: 4 kB / 0.7407 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.5083, allocations: 0.5051 MB / 0.7412 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.5085, allocations: 148.6 kB / 0.7413 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.5085, allocations: 3.938 kB / 0.7413 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.5088, allocations: 27.98 kB / 0.7414 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.5089, allocations: 19.97 kB / 0.7414 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.5089, allocations: 8 kB / 0.7414 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002892/0.5092, allocations: 303.1 kB / 0.7417 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5092, allocations: 0 / 0.7417 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003885/0.5096, allocations: 115.8 kB / 0.7418 GB, free: 7.836 MB / 0.5606 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.001176/0.5108, allocations: 1.135 MB / 0.7429 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.5112, allocations: 208 kB / 0.7431 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5112, allocations: 0 / 0.7431 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.5114, allocations: 115.8 kB / 0.7432 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009877/0.5124, allocations: 221.8 kB / 0.7434 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004465/0.5169, allocations: 3.846 MB / 0.7472 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.5172, allocations: 0.8191 MB / 0.748 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002767/0.5175, allocations: 88.03 kB / 0.748 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.5177, allocations: 139.4 kB / 0.7482 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5177, allocations: 0 / 0.7482 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.048/1.566, allocations: 11.51 MB / 0.7594 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/1.566, allocations: 224 kB / 0.7596 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/3.402, allocations: 0 / 0.7596 GB, free: 5.57 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)