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.006364/0.006364, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.001371/0.001371, allocations: 195.8 kB / 16.67 MB, free: 5.965 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9107/0.9107, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 71.8 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1917, allocations: 80.21 MB / 0.6592 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.678/0.8697, allocations: 173.8 MB / 0.8289 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004472/0.8742, allocations: 2.29 MB / 0.8312 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005126/0.8748, allocations: 18.22 kB / 0.8312 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007869/0.8756, allocations: 234.5 kB / 0.8314 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002427/0.8781, allocations: 0.9286 MB / 0.8323 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.8803, allocations: 0.8282 MB / 0.8331 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.8816, allocations: 0.9587 MB / 0.834 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005311/0.8822, allocations: 335.8 kB / 0.8344 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007222/0.8829, allocations: 459.4 kB / 0.8348 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.8833, allocations: 312.2 kB / 0.8351 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.999e-05/0.8834, allocations: 32.34 kB / 0.8351 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.8852, allocations: 0.9898 MB / 0.8361 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.8854, allocations: 150.5 kB / 0.8362 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.8856, allocations: 240.9 kB / 0.8365 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.8871, allocations: 0.9138 MB / 0.8374 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.8872, allocations: 0 / 0.8374 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8872, allocations: 3.938 kB / 0.8374 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.8872, allocations: 0 / 0.8374 GB, free: 10.88 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.00131/0.8885, allocations: 0.8249 MB / 0.8382 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.8886, allocations: 9.531 kB / 0.8382 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.07e-05/0.8887, allocations: 64.88 kB / 0.8382 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.8899, allocations: 180.7 kB / 0.8384 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007777/0.8907, allocations: 403.7 kB / 0.8388 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.8908, allocations: 26.98 kB / 0.8388 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.806e-05/0.8908, allocations: 30.34 kB / 0.8389 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007112/0.8916, allocations: 370.2 kB / 0.8392 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.8916, allocations: 2.125 kB / 0.8392 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.8916, allocations: 18.55 kB / 0.8392 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.8917, allocations: 13.89 kB / 0.8392 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005439/0.8922, allocations: 260.6 kB / 0.8395 GB, free: 9.25 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.002261/0.8945, allocations: 1.665 MB / 0.8411 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.8949, allocations: 209.3 kB / 0.8413 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.8952, allocations: 117.3 kB / 0.8414 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/0.8964, allocations: 0.8692 MB / 0.8423 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.8964, allocations: 36.28 kB / 0.8423 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.944e-06/0.8964, allocations: 0 / 0.8423 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008924/0.8973, allocations: 360.3 kB / 0.8427 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.8974, allocations: 57.47 kB / 0.8427 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004835/0.8979, allocations: 426.7 kB / 0.8431 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.8979, allocations: 32.11 kB / 0.8431 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.8981, allocations: 209 kB / 0.8433 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.941e-05/0.8982, allocations: 88.69 kB / 0.8434 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.244e-05/0.8983, allocations: 56.53 kB / 0.8435 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.8985, allocations: 350.4 kB / 0.8438 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.8987, allocations: 78.73 kB / 0.8439 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.8989, allocations: 130.1 kB / 0.844 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.8993, allocations: 204.6 kB / 0.8442 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8993, allocations: 0 / 0.8442 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005039/0.8998, allocations: 284.5 kB / 0.8445 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.8998, allocations: 9.469 kB / 0.8445 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.8999, allocations: 6.375 kB / 0.8445 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.8999, allocations: 2.375 kB / 0.8445 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.9001, allocations: 52.58 kB / 0.8446 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.9001, allocations: 3.938 kB / 0.8446 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.9004, allocations: 38.05 kB / 0.8446 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.9004, allocations: 13.48 kB / 0.8446 GB, free: 4.895 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.0001795/0.9006, allocations: 169.5 kB / 0.8448 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.9007, allocations: 43.53 kB / 0.8448 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005921/0.9013, allocations: 281.7 kB / 0.8451 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.9013, allocations: 6.656 kB / 0.8451 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.9013, allocations: 6.75 kB / 0.8451 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.9013, allocations: 0.625 kB / 0.8451 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.9027, allocations: 0.8046 MB / 0.8459 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.9027, allocations: 192 / 0.8459 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.903, allocations: 54.97 kB / 0.8459 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.903, allocations: 3.938 kB / 0.8459 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.903, allocations: 9 kB / 0.8459 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.903, allocations: 2.781 kB / 0.8459 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.903, allocations: 5.75 kB / 0.846 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008642/0.9039, allocations: 0.5025 MB / 0.8464 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.9041, allocations: 148.5 kB / 0.8466 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.745e-05/0.9042, allocations: 7.188 kB / 0.8466 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.9044, allocations: 19.64 kB / 0.8466 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/0.9045, allocations: 23.36 kB / 0.8466 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.9045, allocations: 11 kB / 0.8466 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00038/0.9049, allocations: 300.4 kB / 0.8469 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9049, allocations: 0 / 0.8469 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004835/0.9054, allocations: 124.8 kB / 0.847 GB, free: 3.125 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.001753/0.9072, allocations: 1.127 MB / 0.8481 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005545/0.9078, allocations: 220.3 kB / 0.8484 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.9078, allocations: 0 / 0.8484 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.908, allocations: 115 kB / 0.8485 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.9092, allocations: 232.1 kB / 0.8487 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00525/0.9145, allocations: 3.694 MB / 0.8523 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.915, allocations: 0.8284 MB / 0.8531 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003338/0.9154, allocations: 84.33 kB / 0.8532 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.9156, allocations: 136.5 kB / 0.8533 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/0.9156, allocations: 0 / 0.8533 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04299/0.9586, allocations: 12.08 MB / 0.8651 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.536/9.494, allocations: 16.31 kB / 0.8651 GB, free: 2.754 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)