Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_dev_IDEAS_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.001934/0.001933, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.002068/0.002068, allocations: 177.3 kB / 15.95 MB, free: 216 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.889/1.889, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.659/1.659, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005994/0.0005999, allocations: 9.438 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2382, allocations: 82.31 MB / 0.5873 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.7455/0.9838, allocations: 145.2 MB / 0.7291 GB, free: 5.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007778/0.9917, allocations: 2.31 MB / 0.7313 GB, free: 3.543 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009924/0.9927, allocations: 14.94 kB / 0.7313 GB, free: 3.535 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.9943, allocations: 234.9 kB / 0.7316 GB, free: 3.402 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004666/0.9989, allocations: 0.7713 MB / 0.7323 GB, free: 2.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003205/1.002, allocations: 0.5482 MB / 0.7328 GB, free: 2.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002467/1.005, allocations: 0.5902 MB / 0.7334 GB, free: 2.352 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000958/1.006, allocations: 270.5 kB / 0.7337 GB, free: 2.246 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002/1.008, allocations: 457.5 kB / 0.7341 GB, free: 2.035 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006856/1.008, allocations: 217.9 kB / 0.7343 GB, free: 1.941 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.621e-05/1.009, allocations: 18.53 kB / 0.7343 GB, free: 1.941 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/1.011, allocations: 499.7 kB / 0.7348 GB, free: 1.805 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003417/1.012, allocations: 127.2 kB / 0.7349 GB, free: 1.754 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002649/1.012, allocations: 113 kB / 0.735 GB, free: 1.684 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/1.013, allocations: 0.5061 MB / 0.7355 GB, free: 1.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.013, allocations: 0 / 0.7355 GB, free: 1.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.535e-06/1.013, allocations: 0 / 0.7355 GB, free: 1.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.199e-05/1.013, allocations: 6.5 kB / 0.7355 GB, free: 1.566 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.002067/1.016, allocations: 0.7248 MB / 0.7363 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/1.016, allocations: 14.91 kB / 0.7363 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001349/1.016, allocations: 65.77 kB / 0.7363 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/1.018, allocations: 181.7 kB / 0.7365 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/1.019, allocations: 360.2 kB / 0.7369 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/1.019, allocations: 27.53 kB / 0.7369 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/1.02, allocations: 28.28 kB / 0.7369 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/1.021, allocations: 378.6 kB / 0.7373 GB, free: 408 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/1.021, allocations: 0 / 0.7373 GB, free: 408 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.459e-05/1.021, allocations: 11.73 kB / 0.7373 GB, free: 400 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-05/1.021, allocations: 12.14 kB / 0.7373 GB, free: 400 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009392/1.022, allocations: 267 kB / 0.7375 GB, free: 316 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.003689/1.025, allocations: 1.67 MB / 0.7392 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006702/1.026, allocations: 227.6 kB / 0.7394 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/1.028, allocations: 0.7119 MB / 0.7401 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/1.028, allocations: 37.12 kB / 0.7401 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=23): time 7.173e-06/1.028, allocations: 0 / 0.7401 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.001561/1.029, allocations: 366.3 kB / 0.7405 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/1.029, allocations: 51.41 kB / 0.7405 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008599/1.03, allocations: 422.8 kB / 0.7409 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/1.03, allocations: 33.7 kB / 0.741 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/1.031, allocations: 215 kB / 0.7412 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/1.031, allocations: 78.42 kB / 0.7412 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/1.031, allocations: 4 kB / 0.7412 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000282/1.031, allocations: 351.8 kB / 0.7416 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/1.031, allocations: 86.97 kB / 0.7417 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/1.032, allocations: 128.9 kB / 0.7418 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/1.032, allocations: 101.5 kB / 0.7419 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/1.032, allocations: 7.891 kB / 0.7419 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009235/1.033, allocations: 290.8 kB / 0.7422 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/1.033, allocations: 4.844 kB / 0.7422 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/1.033, allocations: 4 kB / 0.7422 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/1.033, allocations: 96 / 0.7422 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/1.034, allocations: 58.62 kB / 0.7422 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/1.034, allocations: 0.7969 kB / 0.7422 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/1.034, allocations: 52.33 kB / 0.7423 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/1.034, allocations: 12 kB / 0.7423 GB, free: 12.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003377/1.035, allocations: 155.4 kB / 0.7424 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/1.035, allocations: 48.94 kB / 0.7425 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009359/1.036, allocations: 304.6 kB / 0.7428 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/1.036, allocations: 4 kB / 0.7428 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.036, allocations: 0.6094 kB / 0.7428 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/1.036, allocations: 5.453 kB / 0.7428 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/1.038, allocations: 0.8222 MB / 0.7436 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.038, allocations: 0 / 0.7436 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/1.038, allocations: 46.62 kB / 0.7436 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/1.038, allocations: 3.938 kB / 0.7436 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/1.038, allocations: 8 kB / 0.7436 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/1.038, allocations: 7.938 kB / 0.7436 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.038, allocations: 192 / 0.7436 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/1.04, allocations: 0.5933 MB / 0.7442 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/1.04, allocations: 143.5 kB / 0.7444 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/1.04, allocations: 8 kB / 0.7444 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/1.04, allocations: 29.59 kB / 0.7444 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.041, allocations: 22.47 kB / 0.7444 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/1.041, allocations: 12 kB / 0.7444 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007252/1.041, allocations: 296.6 kB / 0.7447 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.41e-07/1.041, allocations: 0 / 0.7447 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001051/1.042, allocations: 115.8 kB / 0.7448 GB, free: 10.16 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 (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.003012/1.046, allocations: 1.623 MB / 0.7464 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007671/1.046, allocations: 220.8 kB / 0.7466 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.046, allocations: 0 / 0.7466 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003386/1.047, allocations: 117.3 kB / 0.7467 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/1.048, allocations: 215.4 kB / 0.7469 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006845/1.055, allocations: 2.965 MB / 0.7498 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006204/1.056, allocations: 0.8391 MB / 0.7507 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007093/1.057, allocations: 93.44 kB / 0.7507 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/1.057, allocations: 135.4 kB / 0.7509 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of SimCode: time 1.373e-06/1.057, allocations: 0 / 0.7509 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04662/1.104, allocations: 11.38 MB / 0.762 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000292/1.104, allocations: 205 kB / 0.7622 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.768/4.872, allocations: 4 kB / 0.7622 GB, free: 8.82 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1) Environment - environmentSimulation: