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.0008453/0.0008453, allocations: 101.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.0008909/0.0008909, allocations: 209.2 kB / 22.24 MB, free: 3.59 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 0.9244/0.9244, allocations: 230.6 MB / 256 MB, free: 9.582 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.758/0.758, allocations: 203.8 MB / 0.5042 GB, free: 10.39 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.001529/0.001529, allocations: 67.83 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4421, allocations: 102 MB / 0.8178 GB, free: 0.9453 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.1342/0.5762, allocations: 153.5 MB / 0.9677 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003292/0.5795, allocations: 2.298 MB / 0.97 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004124/0.58, allocations: 23.81 kB / 0.97 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006482/0.5806, allocations: 226.4 kB / 0.9702 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.5826, allocations: 0.9839 MB / 0.9712 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.5842, allocations: 0.8655 MB / 0.972 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.5853, allocations: 0.9741 MB / 0.973 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004405/0.5857, allocations: 271.4 kB / 0.9732 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.5868, allocations: 0.6306 MB / 0.9738 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.5872, allocations: 310.7 kB / 0.9741 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.5873, allocations: 32 kB / 0.9742 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.5888, allocations: 0.8453 MB / 0.975 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.5889, allocations: 163.4 kB / 0.9751 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.5891, allocations: 195.1 kB / 0.9753 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.5903, allocations: 0.9188 MB / 0.9762 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5903, allocations: 0 / 0.9762 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5903, allocations: 0 / 0.9762 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.5903, allocations: 0 / 0.9762 GB, free: 2.773 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.00101/0.5913, allocations: 0.7648 MB / 0.977 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.5914, allocations: 8.031 kB / 0.977 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.897e-05/0.5914, allocations: 70.53 kB / 0.977 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009112/0.5923, allocations: 223.4 kB / 0.9773 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.5928, allocations: 343.9 kB / 0.9776 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.5928, allocations: 20.66 kB / 0.9776 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.5929, allocations: 32 kB / 0.9776 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.5934, allocations: 452.3 kB / 0.9781 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5934, allocations: 4 kB / 0.9781 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.5934, allocations: 15.98 kB / 0.9781 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.5935, allocations: 15.98 kB / 0.9781 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.5939, allocations: 309.6 kB / 0.9784 GB, free: 452 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.5951, allocations: 1.359 MB / 0.9797 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.5955, allocations: 262.4 kB / 0.98 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.5957, allocations: 140.6 kB / 0.9801 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/0.596, allocations: 71.92 kB / 0.9802 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.596, allocations: 34.56 kB / 0.9802 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=23): time 1.764e-06/0.596, allocations: 4 kB / 0.9802 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.000769/0.5968, allocations: 432.9 kB / 0.9806 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.5968, allocations: 59.39 kB / 0.9807 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.5971, allocations: 426 kB / 0.9811 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.5972, allocations: 29.7 kB / 0.9811 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.5973, allocations: 216.4 kB / 0.9813 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.5973, allocations: 87.38 kB / 0.9814 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/0.5974, allocations: 57.59 kB / 0.9815 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5975, allocations: 350.7 kB / 0.9818 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/0.5979, allocations: 107.9 kB / 0.9819 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.5981, allocations: 203.5 kB / 0.9821 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.5985, allocations: 252 kB / 0.9823 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5985, allocations: 4 kB / 0.9823 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004219/0.5989, allocations: 336.5 kB / 0.9827 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.5989, allocations: 4 kB / 0.9827 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5989, allocations: 0 / 0.9827 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.5989, allocations: 7.984 kB / 0.9827 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.5991, allocations: 63.89 kB / 0.9827 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5991, allocations: 0 / 0.9827 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.5992, allocations: 35.77 kB / 0.9828 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.5992, allocations: 19.92 kB / 0.9828 GB, free: 11.77 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.0001222/0.5994, allocations: 165.8 kB / 0.9829 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.5994, allocations: 43.72 kB / 0.983 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.5999, allocations: 337.8 kB / 0.9833 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5999, allocations: 0 / 0.9833 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.5999, allocations: 4 kB / 0.9833 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.5999, allocations: 3.984 kB / 0.9833 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009707/0.6009, allocations: 0.8109 MB / 0.9841 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6009, allocations: 4 kB / 0.9841 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.6011, allocations: 64.08 kB / 0.9842 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6011, allocations: 0 / 0.9842 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.6011, allocations: 8 kB / 0.9842 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.6011, allocations: 11.94 kB / 0.9842 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6011, allocations: 7.969 kB / 0.9842 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006802/0.6018, allocations: 0.5984 MB / 0.9848 GB, free: 9.594 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.6019, allocations: 75.61 kB / 0.9849 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.6019, allocations: 8 kB / 0.9849 GB, free: 9.512 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.6021, allocations: 19.97 kB / 0.9849 GB, free: 9.492 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.6021, allocations: 19.97 kB / 0.9849 GB, free: 9.473 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.6021, allocations: 8 kB / 0.9849 GB, free: 9.465 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002112/0.6023, allocations: 303.1 kB / 0.9852 GB, free: 9.176 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.6023, allocations: 0 / 0.9852 GB, free: 9.176 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003374/0.6027, allocations: 111.8 kB / 0.9853 GB, free: 9.066 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.000983/0.6037, allocations: 1.197 MB / 0.9865 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004301/0.6041, allocations: 247.7 kB / 0.9867 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.6041, allocations: 3.938 kB / 0.9867 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.6043, allocations: 142.5 kB / 0.9868 GB, free: 7.441 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006799/0.605, allocations: 225.3 kB / 0.9871 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.6088, allocations: 3.882 MB / 0.9909 GB, free: 3.211 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.6089, allocations: 224 kB / 0.9911 GB, free: 2.965 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.6092, allocations: 87.34 kB / 0.9911 GB, free: 2.879 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.6093, allocations: 143.4 kB / 0.9913 GB, free: 2.738 MB / 0.7605 GB Notification: Performance of SimCode: time 7.92e-07/0.6093, allocations: 3.938 kB / 0.9913 GB, free: 2.734 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.6373, allocations: 14.08 MB / 1.005 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.734/7.371, allocations: 7.594 kB / 1.005 GB, free: 4.98 MB / 0.7761 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.168186680879444] Failed to read output from testmodel.py, exit status != 0: 7.455047655850649 7.466297739 6.874070899 Calling exit ...