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.005985/0.005985, allocations: 98.97 kB / 15.73 MB, free: 6.004 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.001428/0.001428, allocations: 192.8 kB / 16.67 MB, free: 5.93 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7313/0.7313, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 67.14 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1282, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.4503/0.5785, allocations: 173.8 MB / 0.8289 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003361/0.5819, allocations: 2.285 MB / 0.8311 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002936/0.5822, allocations: 18.25 kB / 0.8312 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006464/0.5828, allocations: 225.7 kB / 0.8314 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.5847, allocations: 0.9803 MB / 0.8323 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.5863, allocations: 0.8369 MB / 0.8332 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008687/0.5872, allocations: 0.9693 MB / 0.8341 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003926/0.5876, allocations: 339.4 kB / 0.8344 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005349/0.5882, allocations: 465.6 kB / 0.8349 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.5885, allocations: 311.9 kB / 0.8352 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.5885, allocations: 32.62 kB / 0.8352 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.5899, allocations: 1.001 MB / 0.8362 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.5901, allocations: 136.6 kB / 0.8363 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.5903, allocations: 243.1 kB / 0.8365 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.5915, allocations: 0.9139 MB / 0.8374 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.5915, allocations: 0 / 0.8374 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5915, allocations: 2.844 kB / 0.8374 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.5915, allocations: 0 / 0.8374 GB, free: 10.83 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.001113/0.5926, allocations: 0.8261 MB / 0.8382 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.5927, allocations: 10.16 kB / 0.8383 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.669e-05/0.5927, allocations: 66.59 kB / 0.8383 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.5939, allocations: 185.7 kB / 0.8385 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/0.5945, allocations: 400.1 kB / 0.8389 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.5945, allocations: 21.16 kB / 0.8389 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.5946, allocations: 28.28 kB / 0.8389 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.5951, allocations: 372.2 kB / 0.8393 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.5952, allocations: 0 / 0.8393 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.5952, allocations: 16.94 kB / 0.8393 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.5952, allocations: 13.42 kB / 0.8393 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.5957, allocations: 268.5 kB / 0.8396 GB, free: 9.207 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.001564/0.5973, allocations: 1.669 MB / 0.8412 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.5976, allocations: 209.2 kB / 0.8414 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.5978, allocations: 112.8 kB / 0.8415 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008891/0.5987, allocations: 0.8702 MB / 0.8423 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.5988, allocations: 36.66 kB / 0.8424 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.373e-06/0.5988, allocations: 0 / 0.8424 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008113/0.5996, allocations: 361.5 kB / 0.8427 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.5996, allocations: 56.69 kB / 0.8428 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.6, allocations: 418.1 kB / 0.8432 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.6001, allocations: 32.64 kB / 0.8432 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.6002, allocations: 212.5 kB / 0.8434 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.146e-05/0.6003, allocations: 89.45 kB / 0.8435 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.648e-05/0.6004, allocations: 57.12 kB / 0.8436 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.6005, allocations: 352.5 kB / 0.8439 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.6006, allocations: 83.23 kB / 0.844 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.6008, allocations: 126.8 kB / 0.8441 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.6012, allocations: 213.7 kB / 0.8443 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6012, allocations: 2.156 kB / 0.8443 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004668/0.6017, allocations: 277.3 kB / 0.8446 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.6017, allocations: 5.062 kB / 0.8446 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.6017, allocations: 1.781 kB / 0.8446 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.6017, allocations: 6.562 kB / 0.8446 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.602, allocations: 50.03 kB / 0.8446 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.602, allocations: 6.406 kB / 0.8446 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.6022, allocations: 38.05 kB / 0.8447 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.6022, allocations: 7.531 kB / 0.8447 GB, free: 4.852 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.0001399/0.6024, allocations: 164.9 kB / 0.8448 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/0.6024, allocations: 46.03 kB / 0.8449 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005233/0.603, allocations: 283.5 kB / 0.8451 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.603, allocations: 2.094 kB / 0.8451 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.603, allocations: 7.922 kB / 0.8452 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.603, allocations: 4 kB / 0.8452 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.6041, allocations: 0.8088 MB / 0.8459 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6041, allocations: 2.031 kB / 0.8459 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.6043, allocations: 54.64 kB / 0.846 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.6043, allocations: 2.844 kB / 0.846 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.6044, allocations: 12.84 kB / 0.846 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6044, allocations: 2.625 kB / 0.846 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6044, allocations: 2.656 kB / 0.846 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.6051, allocations: 0.5109 MB / 0.8465 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.6052, allocations: 144.8 kB / 0.8467 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.6053, allocations: 12.27 kB / 0.8467 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.6055, allocations: 16.23 kB / 0.8467 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.6056, allocations: 22.02 kB / 0.8467 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.6056, allocations: 7.344 kB / 0.8467 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002657/0.6059, allocations: 301.8 kB / 0.847 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6059, allocations: 0 / 0.847 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004033/0.6063, allocations: 116.9 kB / 0.8471 GB, free: 3.086 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.001188/0.6075, allocations: 1.143 MB / 0.8482 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004489/0.608, allocations: 220.9 kB / 0.8484 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.608, allocations: 0 / 0.8484 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.6082, allocations: 113.6 kB / 0.8485 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.6092, allocations: 223.1 kB / 0.8488 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/0.6135, allocations: 3.68 MB / 0.8524 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.6138, allocations: 0.8292 MB / 0.8532 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002588/0.6141, allocations: 90.8 kB / 0.8532 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.6142, allocations: 137.2 kB / 0.8534 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.6142, allocations: 3.938 kB / 0.8534 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.6451, allocations: 12.08 MB / 0.8652 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.7/8.345, allocations: 12.98 kB / 0.8652 GB, free: 2.684 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)