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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00084/0.00084, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000857/0.000857, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.2 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7036/0.7036, allocations: 154.6 MB / 413.8 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.533e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.449/0.449, allocations: 153.4 MB / 0.7679 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003143/0.4522, allocations: 2.175 MB / 0.77 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004845/0.4526, allocations: 21.06 kB / 0.77 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007035/0.4533, allocations: 239 kB / 0.7703 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.4554, allocations: 0.9634 MB / 0.7712 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.4577, allocations: 0.9034 MB / 0.7721 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001304/0.459, allocations: 0.9735 MB / 0.773 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005331/0.4595, allocations: 276.9 kB / 0.7733 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.461, allocations: 0.7311 MB / 0.774 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004177/0.4614, allocations: 274.5 kB / 0.7743 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.86e-05/0.4615, allocations: 32.66 kB / 0.7743 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.4631, allocations: 0.832 MB / 0.7751 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.4633, allocations: 166.4 kB / 0.7753 GB, free: 448 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.4635, allocations: 160.8 kB / 0.7754 GB, free: 388 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.4649, allocations: 0.9157 MB / 0.7763 GB, free: 76 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4649, allocations: 1.266 kB / 0.7763 GB, free: 76 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4649, allocations: 0 / 0.7763 GB, free: 76 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.465, allocations: 1.094 kB / 0.7763 GB, free: 76 kB / 0.6355 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.001205/0.4662, allocations: 0.752 MB / 0.7771 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4662, allocations: 10.42 kB / 0.7771 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.95e-05/0.4663, allocations: 64.89 kB / 0.7771 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007864/0.4671, allocations: 179.6 kB / 0.7773 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.4676, allocations: 335.6 kB / 0.7776 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.4676, allocations: 24.91 kB / 0.7776 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.4677, allocations: 28.31 kB / 0.7777 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/0.4682, allocations: 423.7 kB / 0.7781 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4682, allocations: 1.219 kB / 0.7781 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.4682, allocations: 15.25 kB / 0.7781 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.4682, allocations: 20.16 kB / 0.7781 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/0.4686, allocations: 258.9 kB / 0.7784 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.4699, allocations: 1.312 MB / 0.7796 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.4702, allocations: 194.7 kB / 0.7798 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.4703, allocations: 108.3 kB / 0.7799 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003941/0.4707, allocations: 130.7 kB / 0.7801 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.4707, allocations: 37.25 kB / 0.7801 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 2.144e-06/0.4707, allocations: 0 / 0.7801 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.0005991/0.4713, allocations: 357.2 kB / 0.7804 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.4713, allocations: 54.12 kB / 0.7805 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.4717, allocations: 430.4 kB / 0.7809 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.4717, allocations: 31.33 kB / 0.7809 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.4718, allocations: 222.7 kB / 0.7811 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.4719, allocations: 73.33 kB / 0.7812 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/0.472, allocations: 49.45 kB / 0.7813 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.4721, allocations: 355.2 kB / 0.7816 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.4722, allocations: 79.22 kB / 0.7817 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.4723, allocations: 178.7 kB / 0.7818 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.4726, allocations: 211.5 kB / 0.782 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4726, allocations: 0 / 0.782 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003582/0.473, allocations: 285.1 kB / 0.7823 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.473, allocations: 10.03 kB / 0.7823 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.473, allocations: 1.25 kB / 0.7823 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.473, allocations: 2.438 kB / 0.7823 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.4732, allocations: 49.39 kB / 0.7824 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4732, allocations: 4.75 kB / 0.7824 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.4733, allocations: 33.64 kB / 0.7824 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.4733, allocations: 18.19 kB / 0.7824 GB, free: 12.21 MB / 0.6511 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.0001305/0.4734, allocations: 163.4 kB / 0.7826 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.4735, allocations: 45.23 kB / 0.7826 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.4739, allocations: 298.4 kB / 0.7829 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4739, allocations: 2.438 kB / 0.7829 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4739, allocations: 1.219 kB / 0.7829 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4739, allocations: 0 / 0.7829 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000837/0.4747, allocations: 0.7423 MB / 0.7836 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4747, allocations: 5.031 kB / 0.7836 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.4749, allocations: 47 kB / 0.7837 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4749, allocations: 3.188 kB / 0.7837 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.4749, allocations: 8.938 kB / 0.7837 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/0.4749, allocations: 10.22 kB / 0.7837 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4749, allocations: 2.281 kB / 0.7837 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005596/0.4755, allocations: 0.5036 MB / 0.7842 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.4756, allocations: 71.69 kB / 0.7843 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.4756, allocations: 6.5 kB / 0.7843 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.4757, allocations: 20.09 kB / 0.7843 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.4758, allocations: 18.64 kB / 0.7843 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.4758, allocations: 10.16 kB / 0.7843 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002303/0.476, allocations: 301.6 kB / 0.7846 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9e-08/0.476, allocations: 1.062 kB / 0.7846 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003839/0.4764, allocations: 119.6 kB / 0.7847 GB, free: 10.89 MB / 0.6511 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.0008944/0.4773, allocations: 1.112 MB / 0.7858 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000311/0.4776, allocations: 203.9 kB / 0.786 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4776, allocations: 2.031 kB / 0.786 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.4777, allocations: 104.9 kB / 0.7861 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006579/0.4784, allocations: 233.6 kB / 0.7863 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003922/0.4823, allocations: 3.622 MB / 0.7899 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.4825, allocations: 226.2 kB / 0.7901 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003104/0.4828, allocations: 82.7 kB / 0.7902 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.483, allocations: 140.8 kB / 0.7903 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of SimCode: time 2.094e-06/0.483, allocations: 0 / 0.7903 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.5094, allocations: 13.63 MB / 0.8036 GB, free: 2.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/7.368, allocations: 14.36 kB / 0.8036 GB, free: 2.242 MB / 0.6511 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.320813206024468] Failed to read output from testmodel.py, exit status != 0: 7.456208183430135 7.463272322 6.996499802 Calling exit ...