Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001411/0.001411, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001641/0.001641, allocations: 163.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.431/1.431, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] 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 1.223/1.223, allocations: 154.6 MB / 413.8 MB, free: 5.199 MB / 382.1 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 178] 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: translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.375e-05/3.547e-05, allocations: 5.375 kB / 0.6186 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5423/0.5423, allocations: 158.4 MB / 0.7733 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.5532, allocations: 7.184 MB / 0.7803 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007232/0.5539, allocations: 25.25 kB / 0.7804 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008611/0.5547, allocations: 253.9 kB / 0.7806 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.5581, allocations: 1.255 MB / 0.7818 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.5602, allocations: 0.8145 MB / 0.7826 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.5616, allocations: 1.073 MB / 0.7837 GB, free: 128 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005597/0.5622, allocations: 322.5 kB / 0.784 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002966/0.5651, allocations: 1.166 MB / 0.7851 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006024/0.5657, allocations: 393.2 kB / 0.7855 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.771e-05/0.5658, allocations: 37.28 kB / 0.7855 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.5671, allocations: 0.794 MB / 0.7863 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.5673, allocations: 173.6 kB / 0.7865 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.5675, allocations: 176.7 kB / 0.7866 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.5689, allocations: 0.9448 MB / 0.7876 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5689, allocations: 0 / 0.7876 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5689, allocations: 0 / 0.7876 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.5689, allocations: 4 kB / 0.7876 GB, free: 13.77 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001251/0.5702, allocations: 0.7511 MB / 0.7883 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.5702, allocations: 7.594 kB / 0.7883 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009112/0.5711, allocations: 161 kB / 0.7884 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005936/0.5717, allocations: 328.4 kB / 0.7888 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.5718, allocations: 29.06 kB / 0.7888 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.51e-05/0.5718, allocations: 38.47 kB / 0.7888 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/0.5726, allocations: 450.9 kB / 0.7893 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.5726, allocations: 0 / 0.7893 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.5726, allocations: 14.19 kB / 0.7893 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.5726, allocations: 11.16 kB / 0.7893 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006123/0.5732, allocations: 323.2 kB / 0.7896 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.5751, allocations: 1.404 MB / 0.791 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.5755, allocations: 215.6 kB / 0.7912 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.5757, allocations: 138.2 kB / 0.7913 GB, free: 11 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004642/0.5762, allocations: 79.44 kB / 0.7914 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.5762, allocations: 42.19 kB / 0.7914 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=24): time 1.443e-06/0.5762, allocations: 0 / 0.7914 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24): time 0.001048/0.5773, allocations: 441.5 kB / 0.7918 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.5773, allocations: 57.8 kB / 0.7919 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.5776, allocations: 284 kB / 0.7922 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.5776, allocations: 32.73 kB / 0.7922 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.5778, allocations: 239.7 kB / 0.7924 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-05/0.5779, allocations: 94.55 kB / 0.7925 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.446e-05/0.578, allocations: 55 kB / 0.7926 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5781, allocations: 345 kB / 0.7929 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.5784, allocations: 108.9 kB / 0.793 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.5787, allocations: 270.1 kB / 0.7933 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005321/0.5792, allocations: 306.8 kB / 0.7935 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5792, allocations: 2.938 kB / 0.7935 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007376/0.58, allocations: 363.5 kB / 0.7939 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.58, allocations: 5.156 kB / 0.7939 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.58, allocations: 2.562 kB / 0.7939 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.58, allocations: 2.906 kB / 0.7939 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.5803, allocations: 59.44 kB / 0.794 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.5803, allocations: 3 kB / 0.794 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.5805, allocations: 34.45 kB / 0.794 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.5805, allocations: 14.91 kB / 0.794 GB, free: 9.02 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 31 * 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.0001814/0.5807, allocations: 162.2 kB / 0.7942 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.5808, allocations: 37.17 kB / 0.7942 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006995/0.5815, allocations: 371.3 kB / 0.7946 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.5815, allocations: 6.875 kB / 0.7946 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5815, allocations: 0 / 0.7946 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5815, allocations: 2.906 kB / 0.7946 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.5828, allocations: 0.8283 MB / 0.7954 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5828, allocations: 10.3 kB / 0.7954 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.583, allocations: 44.86 kB / 0.7954 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.583, allocations: 2.938 kB / 0.7954 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.583, allocations: 10.59 kB / 0.7954 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.583, allocations: 6.922 kB / 0.7954 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.583, allocations: 2.844 kB / 0.7955 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/0.584, allocations: 0.6107 MB / 0.796 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.5841, allocations: 61.05 kB / 0.7961 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.5841, allocations: 2.625 kB / 0.7961 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.5843, allocations: 19.83 kB / 0.7961 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.5844, allocations: 28.03 kB / 0.7962 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.5844, allocations: 8.125 kB / 0.7962 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001693/0.5846, allocations: 197.2 kB / 0.7963 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.5846, allocations: 3.219 kB / 0.7964 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004466/0.585, allocations: 121.7 kB / 0.7965 GB, free: 7.355 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.0002751/0.5853, allocations: 155.3 kB / 0.7966 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005531/0.5858, allocations: 279.3 kB / 0.7969 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5858, allocations: 0 / 0.7969 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.5861, allocations: 145.3 kB / 0.797 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007572/0.5869, allocations: 125.6 kB / 0.7971 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.5881, allocations: 0.7703 MB / 0.7979 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.5883, allocations: 223.5 kB / 0.7981 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002085/0.5885, allocations: 88.12 kB / 0.7982 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.522e-05/0.5886, allocations: 29.72 kB / 0.7982 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.5886, allocations: 3.938 kB / 0.7982 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of Templates: time 0.01146/0.6, allocations: 5.482 MB / 0.8036 GB, free: 3.5 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.57168996706605] Failed to read output from testmodel.py, exit status != 0: 0.6085209101438522 0.623423209 0.051196577 Calling exit ...