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.004883/0.004883, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.0011/0.0011, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9204/0.9204, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.91 kB / 0.5851 GB, free: 3.816 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4271, allocations: 80.93 MB / 0.6642 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.1701/0.5973, allocations: 173.8 MB / 0.8339 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003511/0.6008, allocations: 2.292 MB / 0.8361 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004614/0.6013, allocations: 11.94 kB / 0.8362 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006814/0.602, allocations: 234.3 kB / 0.8364 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.604, allocations: 0.9256 MB / 0.8373 GB, free: 15.64 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.6059, allocations: 0.8267 MB / 0.8381 GB, free: 14.82 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001146/0.607, allocations: 0.97 MB / 0.839 GB, free: 13.85 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004875/0.6075, allocations: 327 kB / 0.8393 GB, free: 13.53 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007137/0.6083, allocations: 454.3 kB / 0.8398 GB, free: 13.09 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004485/0.6087, allocations: 322.6 kB / 0.8401 GB, free: 12.77 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.6089, allocations: 32 kB / 0.8401 GB, free: 12.74 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.6105, allocations: 0.9976 MB / 0.8411 GB, free: 11.74 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.6107, allocations: 143.5 kB / 0.8412 GB, free: 11.6 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002573/0.611, allocations: 238.8 kB / 0.8415 GB, free: 11.36 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.6123, allocations: 0.9076 MB / 0.8423 GB, free: 10.45 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.6123, allocations: 0 / 0.8423 GB, free: 10.45 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6123, allocations: 0 / 0.8423 GB, free: 10.45 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.6123, allocations: 0 / 0.8423 GB, free: 10.45 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.001213/0.6136, allocations: 0.8022 MB / 0.8431 GB, free: 9.598 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.6136, allocations: 12.03 kB / 0.8431 GB, free: 9.586 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.322e-05/0.6137, allocations: 66.52 kB / 0.8432 GB, free: 9.512 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.615, allocations: 179.2 kB / 0.8434 GB, free: 9.336 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006234/0.6156, allocations: 393.4 kB / 0.8437 GB, free: 8.914 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.6156, allocations: 24.59 kB / 0.8438 GB, free: 8.891 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.302e-05/0.6157, allocations: 31.98 kB / 0.8438 GB, free: 8.859 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/0.6163, allocations: 373.1 kB / 0.8442 GB, free: 8.469 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.6163, allocations: 3.938 kB / 0.8442 GB, free: 8.465 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.6164, allocations: 12 kB / 0.8442 GB, free: 8.453 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.6164, allocations: 11.98 kB / 0.8442 GB, free: 8.441 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004989/0.6169, allocations: 262 kB / 0.8444 GB, free: 8.188 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.00173/0.6186, allocations: 1.664 MB / 0.8461 GB, free: 6.387 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.619, allocations: 210.5 kB / 0.8463 GB, free: 6.172 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.6192, allocations: 112.8 kB / 0.8464 GB, free: 6.059 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009842/0.6202, allocations: 0.874 MB / 0.8472 GB, free: 5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.6203, allocations: 38.5 kB / 0.8473 GB, free: 4.953 MB / 0.67 GB Notification: Performance of pre-optimization done (n=23): time 1.803e-06/0.6203, allocations: 0 / 0.8473 GB, free: 4.953 MB / 0.67 GB Notification: Performance of matching and sorting (n=23): time 0.0008936/0.6212, allocations: 352.9 kB / 0.8476 GB, free: 4.602 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.6212, allocations: 51.41 kB / 0.8476 GB, free: 4.539 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.6217, allocations: 425.9 kB / 0.848 GB, free: 4.117 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.6217, allocations: 29.7 kB / 0.8481 GB, free: 4.082 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.6219, allocations: 216.2 kB / 0.8483 GB, free: 3.867 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.596e-05/0.622, allocations: 78.77 kB / 0.8484 GB, free: 3.789 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.109e-05/0.6221, allocations: 53.69 kB / 0.8484 GB, free: 3.73 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6222, allocations: 354.8 kB / 0.8487 GB, free: 3.375 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.6224, allocations: 75.95 kB / 0.8488 GB, free: 3.301 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.6226, allocations: 129.2 kB / 0.8489 GB, free: 3.164 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.623, allocations: 209.8 kB / 0.8491 GB, free: 2.949 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.623, allocations: 4.047 kB / 0.8491 GB, free: 2.945 MB / 0.67 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005125/0.6236, allocations: 280.9 kB / 0.8494 GB, free: 2.664 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.6236, allocations: 4 kB / 0.8494 GB, free: 2.66 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.6236, allocations: 0 / 0.8494 GB, free: 2.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.6236, allocations: 11.88 kB / 0.8494 GB, free: 2.648 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.6239, allocations: 55.91 kB / 0.8495 GB, free: 2.594 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.6239, allocations: 0 / 0.8495 GB, free: 2.594 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.6241, allocations: 43.61 kB / 0.8495 GB, free: 2.551 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.6241, allocations: 12 kB / 0.8495 GB, free: 2.539 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.0001555/0.6243, allocations: 159.3 kB / 0.8497 GB, free: 2.375 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/0.6244, allocations: 47.52 kB / 0.8497 GB, free: 2.328 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005753/0.6249, allocations: 284.6 kB / 0.85 GB, free: 2.043 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.625, allocations: 4 kB / 0.85 GB, free: 2.039 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.625, allocations: 4 kB / 0.85 GB, free: 2.035 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.625, allocations: 3.984 kB / 0.85 GB, free: 2.031 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.6262, allocations: 0.8112 MB / 0.8508 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6262, allocations: 0 / 0.8508 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.6264, allocations: 51.91 kB / 0.8509 GB, free: 1.094 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.6265, allocations: 4 kB / 0.8509 GB, free: 1.09 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.6265, allocations: 4 kB / 0.8509 GB, free: 1.086 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6265, allocations: 4 kB / 0.8509 GB, free: 1.082 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.6265, allocations: 4 kB / 0.8509 GB, free: 1.078 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007584/0.6273, allocations: 0.4999 MB / 0.8514 GB, free: 0.543 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.6274, allocations: 152.5 kB / 0.8515 GB, free: 384 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.6275, allocations: 4 kB / 0.8515 GB, free: 380 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.6278, allocations: 15.98 kB / 0.8515 GB, free: 364 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.6278, allocations: 23.91 kB / 0.8515 GB, free: 340 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.6278, allocations: 11.94 kB / 0.8516 GB, free: 328 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003015/0.6282, allocations: 303.1 kB / 0.8518 GB, free: 28 kB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6282, allocations: 0 / 0.8518 GB, free: 28 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004514/0.6286, allocations: 115.9 kB / 0.852 GB, free: 15.91 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.001376/0.63, allocations: 1.147 MB / 0.8531 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00051/0.6305, allocations: 213.2 kB / 0.8533 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6305, allocations: 7.938 kB / 0.8533 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.6308, allocations: 111.8 kB / 0.8534 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.6319, allocations: 219.2 kB / 0.8536 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004615/0.6365, allocations: 3.68 MB / 0.8572 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.6369, allocations: 0.8311 MB / 0.858 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002789/0.6372, allocations: 87.33 kB / 0.8581 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.6373, allocations: 139.4 kB / 0.8582 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of SimCode: time 2.41e-07/0.6374, allocations: 0 / 0.8582 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2983/0.9357, allocations: 12.08 MB / 0.87 GB, free: 193 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.926, allocations: 7.281 kB / 0.87 GB, free: 193 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)