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.005802/0.005802, allocations: 100.9 kB / 15.73 MB, free: 6 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.00124/0.00124, allocations: 189.1 kB / 16.67 MB, free: 5.934 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.949/0.949, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.91 kB / 0.5851 GB, free: 3.844 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3519, allocations: 80.92 MB / 0.6641 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.1767/0.5287, allocations: 173.8 MB / 0.8339 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003709/0.5324, allocations: 2.291 MB / 0.8361 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004744/0.5329, allocations: 19.88 kB / 0.8362 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007324/0.5337, allocations: 230.4 kB / 0.8364 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002059/0.5357, allocations: 0.9723 MB / 0.8373 GB, free: 15.6 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.5377, allocations: 0.8281 MB / 0.8381 GB, free: 14.77 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001296/0.539, allocations: 0.9818 MB / 0.8391 GB, free: 13.79 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005465/0.5396, allocations: 330.9 kB / 0.8394 GB, free: 13.46 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007856/0.5404, allocations: 470.3 kB / 0.8399 GB, free: 13 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004422/0.5408, allocations: 310.7 kB / 0.8401 GB, free: 12.7 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.568e-05/0.5409, allocations: 35.98 kB / 0.8402 GB, free: 12.66 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.5425, allocations: 0.9976 MB / 0.8412 GB, free: 11.66 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.5427, allocations: 139.6 kB / 0.8413 GB, free: 11.53 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.543, allocations: 250.7 kB / 0.8415 GB, free: 11.28 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.5443, allocations: 0.9082 MB / 0.8424 GB, free: 10.38 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5443, allocations: 3.938 kB / 0.8424 GB, free: 10.37 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5443, allocations: 0 / 0.8424 GB, free: 10.37 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.909e-05/0.5444, allocations: 4 kB / 0.8424 GB, free: 10.37 MB / 0.67 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.001329/0.5457, allocations: 0.8208 MB / 0.8432 GB, free: 9.492 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.5457, allocations: 8.031 kB / 0.8432 GB, free: 9.484 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.106e-05/0.5458, allocations: 66.53 kB / 0.8433 GB, free: 9.41 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.5471, allocations: 187.5 kB / 0.8435 GB, free: 9.227 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000663/0.5478, allocations: 393.7 kB / 0.8438 GB, free: 8.805 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.5478, allocations: 24.66 kB / 0.8439 GB, free: 8.781 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/0.5479, allocations: 35.94 kB / 0.8439 GB, free: 8.746 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006444/0.5486, allocations: 369 kB / 0.8443 GB, free: 8.359 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.5486, allocations: 8 kB / 0.8443 GB, free: 8.352 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.5486, allocations: 8 kB / 0.8443 GB, free: 8.344 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.5487, allocations: 15.98 kB / 0.8443 GB, free: 8.328 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/0.5492, allocations: 258 kB / 0.8445 GB, free: 8.078 MB / 0.67 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.001906/0.5511, allocations: 1.668 MB / 0.8462 GB, free: 6.273 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.5515, allocations: 206.5 kB / 0.8464 GB, free: 6.062 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.5518, allocations: 112.8 kB / 0.8465 GB, free: 5.949 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/0.5528, allocations: 0.874 MB / 0.8473 GB, free: 4.891 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.5529, allocations: 38.56 kB / 0.8474 GB, free: 4.844 MB / 0.67 GB Notification: Performance of pre-optimization done (n=23): time 1.463e-06/0.5529, allocations: 4 kB / 0.8474 GB, free: 4.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=23): time 0.0008995/0.5538, allocations: 353 kB / 0.8477 GB, free: 4.488 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.5538, allocations: 55.41 kB / 0.8478 GB, free: 4.422 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000429/0.5543, allocations: 425.8 kB / 0.8482 GB, free: 4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.5543, allocations: 33.7 kB / 0.8482 GB, free: 3.961 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.5545, allocations: 212.5 kB / 0.8484 GB, free: 3.75 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.5545, allocations: 83.28 kB / 0.8485 GB, free: 3.668 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.221e-05/0.5546, allocations: 57.64 kB / 0.8485 GB, free: 3.605 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5548, allocations: 346.8 kB / 0.8489 GB, free: 3.258 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.555, allocations: 79.95 kB / 0.8489 GB, free: 3.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.5552, allocations: 129.2 kB / 0.8491 GB, free: 3.043 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.5556, allocations: 210.3 kB / 0.8493 GB, free: 2.828 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5556, allocations: 4 kB / 0.8493 GB, free: 2.824 MB / 0.67 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000525/0.5561, allocations: 277.3 kB / 0.8495 GB, free: 2.547 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.5561, allocations: 12 kB / 0.8495 GB, free: 2.535 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5562, allocations: 4 kB / 0.8495 GB, free: 2.531 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5562, allocations: 3.938 kB / 0.8495 GB, free: 2.527 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.5564, allocations: 55.91 kB / 0.8496 GB, free: 2.473 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.5564, allocations: 4 kB / 0.8496 GB, free: 2.469 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.5567, allocations: 31.77 kB / 0.8496 GB, free: 2.438 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.5567, allocations: 11.94 kB / 0.8496 GB, free: 2.426 MB / 0.67 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.0001516/0.5569, allocations: 161.8 kB / 0.8498 GB, free: 2.258 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.63e-05/0.557, allocations: 51.7 kB / 0.8498 GB, free: 2.207 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005757/0.5575, allocations: 297 kB / 0.8501 GB, free: 1.906 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.5575, allocations: 0 / 0.8501 GB, free: 1.906 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5576, allocations: 0 / 0.8501 GB, free: 1.906 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5576, allocations: 3.984 kB / 0.8501 GB, free: 1.902 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.5588, allocations: 0.8104 MB / 0.8509 GB, free: 1.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5588, allocations: 4 kB / 0.8509 GB, free: 1.016 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.559, allocations: 43.97 kB / 0.851 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.559, allocations: 4 kB / 0.851 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.5591, allocations: 8.188 kB / 0.851 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.5591, allocations: 11.94 kB / 0.851 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5591, allocations: 0 / 0.851 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007748/0.5599, allocations: 0.5123 MB / 0.8515 GB, free: 416 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.56, allocations: 148.8 kB / 0.8516 GB, free: 248 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.508e-05/0.5601, allocations: 8 kB / 0.8516 GB, free: 240 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.5604, allocations: 11.98 kB / 0.8517 GB, free: 228 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.5605, allocations: 31.91 kB / 0.8517 GB, free: 196 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.5605, allocations: 8 kB / 0.8517 GB, free: 188 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003253/0.5608, allocations: 303.1 kB / 0.852 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5609, allocations: 0 / 0.852 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004281/0.5613, allocations: 115.8 kB / 0.8521 GB, free: 15.78 MB / 0.6856 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.001253/0.5625, allocations: 1.126 MB / 0.8532 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004811/0.563, allocations: 208.7 kB / 0.8534 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5631, allocations: 8 kB / 0.8534 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.5633, allocations: 111.8 kB / 0.8535 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.5644, allocations: 223.8 kB / 0.8537 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/0.5691, allocations: 3.702 MB / 0.8573 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.5694, allocations: 0.8272 MB / 0.8581 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002662/0.5697, allocations: 83.34 kB / 0.8582 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.5699, allocations: 139.4 kB / 0.8584 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of SimCode: time 3.1e-07/0.5699, allocations: 0 / 0.8584 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3043/0.8742, allocations: 12.08 MB / 0.8702 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.936, allocations: 11.31 kB / 0.8702 GB, free: 192.8 MB / 0.6856 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)