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.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.0009242/0.0009242, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001133/0.001133, allocations: 212.1 kB / 22.25 MB, free: 3.727 MB / 13.93 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.006/1.006, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7854/0.7854, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009968/0.0009968, allocations: 67.27 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5072/0.5082, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.1396/0.6478, allocations: 153.5 MB / 0.9677 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003284/0.6511, allocations: 2.306 MB / 0.97 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003116/0.6514, allocations: 19.81 kB / 0.97 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006127/0.652, allocations: 226.4 kB / 0.9702 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.6536, allocations: 0.98 MB / 0.9712 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.655, allocations: 0.866 MB / 0.972 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009249/0.656, allocations: 0.9818 MB / 0.973 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003481/0.6563, allocations: 271.4 kB / 0.9732 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008128/0.6571, allocations: 0.6268 MB / 0.9738 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.6574, allocations: 310.6 kB / 0.9741 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/0.6575, allocations: 36 kB / 0.9742 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.6586, allocations: 0.8492 MB / 0.975 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.6587, allocations: 151.5 kB / 0.9751 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.6589, allocations: 203.1 kB / 0.9753 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.6599, allocations: 0.9149 MB / 0.9762 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6599, allocations: 4 kB / 0.9762 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6599, allocations: 0 / 0.9762 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.6599, allocations: 0 / 0.9762 GB, free: 2.871 MB / 0.7448 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.0009079/0.6608, allocations: 0.7609 MB / 0.977 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.6609, allocations: 8.031 kB / 0.977 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.569e-05/0.6609, allocations: 66.53 kB / 0.977 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009516/0.6619, allocations: 235.3 kB / 0.9773 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.6624, allocations: 335.9 kB / 0.9776 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.6624, allocations: 24.66 kB / 0.9776 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.6624, allocations: 28 kB / 0.9776 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000493/0.6629, allocations: 456.3 kB / 0.9781 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.6629, allocations: 0 / 0.9781 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.6629, allocations: 12 kB / 0.9781 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.663, allocations: 12 kB / 0.9781 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.6634, allocations: 317.6 kB / 0.9784 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.6646, allocations: 1.355 MB / 0.9797 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.665, allocations: 270.9 kB / 0.98 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.6652, allocations: 140.6 kB / 0.9801 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/0.6655, allocations: 75.91 kB / 0.9802 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.6655, allocations: 34.56 kB / 0.9802 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=23): time 1.363e-06/0.6655, allocations: 0 / 0.9802 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.0007298/0.6662, allocations: 435.2 kB / 0.9806 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.6662, allocations: 55.41 kB / 0.9807 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.6666, allocations: 425.9 kB / 0.9811 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.6666, allocations: 33.7 kB / 0.9811 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.6667, allocations: 208.4 kB / 0.9813 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.6667, allocations: 83.27 kB / 0.9814 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.6668, allocations: 61.64 kB / 0.9815 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.6669, allocations: 354.7 kB / 0.9818 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.6671, allocations: 107.9 kB / 0.9819 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.6673, allocations: 195.5 kB / 0.9821 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.6676, allocations: 256.2 kB / 0.9823 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6676, allocations: 0 / 0.9823 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004295/0.6681, allocations: 336.1 kB / 0.9827 GB, free: 12 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.6681, allocations: 8 kB / 0.9827 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6681, allocations: 0 / 0.9827 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6681, allocations: 8.031 kB / 0.9827 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.6683, allocations: 63.89 kB / 0.9827 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.6683, allocations: 0 / 0.9827 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.6684, allocations: 39.77 kB / 0.9828 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.6684, allocations: 11.94 kB / 0.9828 GB, free: 11.88 MB / 0.7605 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.0002621/0.6687, allocations: 165.8 kB / 0.9829 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.6687, allocations: 43.72 kB / 0.983 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004657/0.6692, allocations: 342 kB / 0.9833 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.6692, allocations: 4 kB / 0.9833 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6692, allocations: 0 / 0.9833 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6692, allocations: 0 / 0.9833 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009111/0.6701, allocations: 0.8227 MB / 0.9841 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6701, allocations: 3.938 kB / 0.9841 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.6703, allocations: 55.89 kB / 0.9842 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.6703, allocations: 4 kB / 0.9842 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.6703, allocations: 8 kB / 0.9842 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.6703, allocations: 4.125 kB / 0.9842 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6703, allocations: 8 kB / 0.9842 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006721/0.671, allocations: 0.5929 MB / 0.9848 GB, free: 9.711 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.6711, allocations: 75.66 kB / 0.9848 GB, free: 9.637 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.6711, allocations: 7.984 kB / 0.9849 GB, free: 9.629 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.6713, allocations: 23.98 kB / 0.9849 GB, free: 9.605 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.6713, allocations: 15.97 kB / 0.9849 GB, free: 9.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.6714, allocations: 19.92 kB / 0.9849 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002132/0.6716, allocations: 303.1 kB / 0.9852 GB, free: 9.281 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.6716, allocations: 0 / 0.9852 GB, free: 9.281 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002997/0.6719, allocations: 107.9 kB / 0.9853 GB, free: 9.176 MB / 0.7605 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.001/0.6729, allocations: 1.193 MB / 0.9865 GB, free: 7.938 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004247/0.6733, allocations: 251.7 kB / 0.9867 GB, free: 7.691 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6733, allocations: 4 kB / 0.9867 GB, free: 7.688 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.6735, allocations: 133.8 kB / 0.9868 GB, free: 7.559 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006899/0.6742, allocations: 230.2 kB / 0.9871 GB, free: 7.336 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.6781, allocations: 3.89 MB / 0.9909 GB, free: 3.316 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.6783, allocations: 224.1 kB / 0.9911 GB, free: 3.07 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000267/0.6785, allocations: 83.34 kB / 0.9911 GB, free: 2.988 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.6787, allocations: 139.4 kB / 0.9913 GB, free: 2.852 MB / 0.7605 GB Notification: Performance of SimCode: time 6.92e-07/0.6787, allocations: 0 / 0.9913 GB, free: 2.852 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.7073, allocations: 14.07 MB / 1.005 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.891/7.598, allocations: 8.062 kB / 1.005 GB, free: 5.098 MB / 0.7761 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.676386986859143] Failed to read output from testmodel.py, exit status != 0: 7.683732095174491 7.697452704 7.035015741 Calling exit ...