Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_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.005473/0.005474, allocations: 103 kB / 15.73 MB, free: 6.059 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.001233/0.001233, allocations: 200.1 kB / 16.68 MB, free: 5.977 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7633/0.7633, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 62.92 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1337, allocations: 80.22 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.4618/0.5955, allocations: 173.8 MB / 0.8289 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003456/0.599, allocations: 2.292 MB / 0.8312 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000498/0.5996, allocations: 11.91 kB / 0.8312 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000702/0.6003, allocations: 238.7 kB / 0.8314 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00217/0.6025, allocations: 0.9272 MB / 0.8323 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.6045, allocations: 0.8228 MB / 0.8331 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001227/0.6058, allocations: 0.9668 MB / 0.834 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004917/0.6063, allocations: 331.7 kB / 0.8344 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007987/0.6071, allocations: 461.8 kB / 0.8348 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004497/0.6075, allocations: 311.8 kB / 0.8351 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/0.6076, allocations: 30.88 kB / 0.8351 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.6093, allocations: 1.001 MB / 0.8361 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.6094, allocations: 148.3 kB / 0.8362 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.6097, allocations: 237.7 kB / 0.8365 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.611, allocations: 0.9048 MB / 0.8374 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.611, allocations: 2.906 kB / 0.8374 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.611, allocations: 0 / 0.8374 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.611, allocations: 0 / 0.8374 GB, free: 10.87 MB / 0.6075 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.001513/0.6125, allocations: 0.8024 MB / 0.8381 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.6126, allocations: 9.625 kB / 0.8382 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.653e-05/0.6127, allocations: 68.44 kB / 0.8382 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.614, allocations: 186 kB / 0.8384 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007213/0.6148, allocations: 387.6 kB / 0.8388 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.6148, allocations: 24.81 kB / 0.8388 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.6149, allocations: 36.22 kB / 0.8388 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.6154, allocations: 364.4 kB / 0.8392 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.6155, allocations: 6.656 kB / 0.8392 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.6155, allocations: 17.69 kB / 0.8392 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.6155, allocations: 14.58 kB / 0.8392 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.616, allocations: 260.1 kB / 0.8395 GB, free: 9.27 MB / 0.6075 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.001767/0.6177, allocations: 1.672 MB / 0.8411 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.6181, allocations: 210.1 kB / 0.8413 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.6183, allocations: 113.4 kB / 0.8414 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009212/0.6193, allocations: 0.869 MB / 0.8422 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.6193, allocations: 41.41 kB / 0.8423 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.744e-06/0.6193, allocations: 0 / 0.8423 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008053/0.6201, allocations: 357.7 kB / 0.8426 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.6201, allocations: 56 kB / 0.8427 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.6206, allocations: 418.7 kB / 0.8431 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.6206, allocations: 32.23 kB / 0.8431 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.6207, allocations: 212.3 kB / 0.8433 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.6208, allocations: 85.08 kB / 0.8434 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.498e-05/0.6209, allocations: 49.61 kB / 0.8434 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.621, allocations: 356.3 kB / 0.8438 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.6212, allocations: 79.11 kB / 0.8439 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.6214, allocations: 130.9 kB / 0.844 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.6217, allocations: 208.3 kB / 0.8442 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6217, allocations: 7.875 kB / 0.8442 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004636/0.6222, allocations: 280.7 kB / 0.8445 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.6222, allocations: 10.61 kB / 0.8445 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6222, allocations: 1.938 kB / 0.8445 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.6223, allocations: 2.906 kB / 0.8445 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.6225, allocations: 45.95 kB / 0.8445 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.6225, allocations: 6.062 kB / 0.8445 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.6227, allocations: 37.8 kB / 0.8446 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.6228, allocations: 11.34 kB / 0.8446 GB, free: 4.918 MB / 0.6075 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.0001481/0.6229, allocations: 161.7 kB / 0.8447 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.623, allocations: 41.78 kB / 0.8448 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004936/0.6235, allocations: 285 kB / 0.845 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6235, allocations: 2.406 kB / 0.845 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6235, allocations: 4.75 kB / 0.845 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6235, allocations: 4.094 kB / 0.845 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.6246, allocations: 0.8155 MB / 0.8458 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.6246, allocations: 3.984 kB / 0.8458 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.6248, allocations: 47.19 kB / 0.8459 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.6248, allocations: 2.812 kB / 0.8459 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.6249, allocations: 9.75 kB / 0.8459 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.6249, allocations: 1.938 kB / 0.8459 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6249, allocations: 3.25 kB / 0.8459 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006492/0.6255, allocations: 0.5168 MB / 0.8464 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.6257, allocations: 141 kB / 0.8465 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.6257, allocations: 14.11 kB / 0.8466 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.626, allocations: 15.36 kB / 0.8466 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.6261, allocations: 22.17 kB / 0.8466 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.6261, allocations: 11.56 kB / 0.8466 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002699/0.6264, allocations: 301.7 kB / 0.8469 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6264, allocations: 0 / 0.8469 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003922/0.6268, allocations: 118.5 kB / 0.847 GB, free: 3.152 MB / 0.6075 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.00113/0.6279, allocations: 1.124 MB / 0.8481 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000429/0.6283, allocations: 219.9 kB / 0.8483 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6284, allocations: 2.688 kB / 0.8483 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.6286, allocations: 110.4 kB / 0.8484 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009711/0.6295, allocations: 227.1 kB / 0.8486 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.6337, allocations: 3.675 MB / 0.8522 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.6341, allocations: 0.8281 MB / 0.853 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002446/0.6343, allocations: 84.17 kB / 0.8531 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.6345, allocations: 141.1 kB / 0.8533 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.6345, allocations: 0 / 0.8533 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.6628, allocations: 12.25 MB / 0.8652 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.379/8.042, allocations: 11.61 kB / 0.8652 GB, free: 2.57 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)