Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.001301/0.001301, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.001544/0.001544, allocations: 166.9 kB / 22.46 MB, free: 5.371 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.457/1.457, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.241/1.241, 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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.972e-05, allocations: 5.344 kB / 0.6186 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.623/0.623, allocations: 142.2 MB / 0.7575 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005571/0.6286, allocations: 4.186 MB / 0.7615 GB, free: 104 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005104/0.6291, allocations: 17.72 kB / 0.7616 GB, free: 92 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005213/0.6296, allocations: 123.7 kB / 0.7617 GB, free: 12 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.6308, allocations: 355.4 kB / 0.762 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.6319, allocations: 325.5 kB / 0.7623 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0009265/0.6328, allocations: 0.5664 MB / 0.7629 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004574/0.6333, allocations: 162.9 kB / 0.763 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.6354, allocations: 0.7412 MB / 0.7638 GB, free: 15 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000397/0.6358, allocations: 173.3 kB / 0.7639 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.6358, allocations: 16.5 kB / 0.7639 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.6361, allocations: 76.38 kB / 0.764 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.6362, allocations: 92.77 kB / 0.7641 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.6364, allocations: 81.42 kB / 0.7642 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0005307/0.6369, allocations: 314.8 kB / 0.7645 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.6369, allocations: 4 kB / 0.7645 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6369, allocations: 0 / 0.7645 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.6369, allocations: 1.094 kB / 0.7645 GB, free: 14.74 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001096/0.638, allocations: 473.6 kB / 0.7649 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.6381, allocations: 9.594 kB / 0.7649 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.6382, allocations: 32.12 kB / 0.765 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/0.6387, allocations: 232.5 kB / 0.7652 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.6387, allocations: 12.25 kB / 0.7652 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.6388, allocations: 20.69 kB / 0.7652 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/0.6393, allocations: 258.9 kB / 0.7655 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.6394, allocations: 1.312 kB / 0.7655 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.6394, allocations: 6.656 kB / 0.7655 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.6394, allocations: 9.281 kB / 0.7655 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.6398, allocations: 158.6 kB / 0.7656 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.6414, allocations: 1.23 MB / 0.7668 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.6418, allocations: 181.3 kB / 0.767 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.642, allocations: 93.66 kB / 0.7671 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000328/0.6423, allocations: 39.95 kB / 0.7671 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.6424, allocations: 42.09 kB / 0.7672 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.6424, allocations: 3.375 kB / 0.7672 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0006644/0.6431, allocations: 196.1 kB / 0.7674 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.6432, allocations: 187.5 kB / 0.7676 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.6434, allocations: 205.6 kB / 0.7678 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.6435, allocations: 30.89 kB / 0.7678 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.6436, allocations: 162 kB / 0.7679 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.6436, allocations: 39.55 kB / 0.768 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.6437, allocations: 40.59 kB / 0.768 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.6439, allocations: 326.1 kB / 0.7683 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.644, allocations: 45.19 kB / 0.7684 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.6443, allocations: 216.5 kB / 0.7686 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.6446, allocations: 161.3 kB / 0.7687 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.6446, allocations: 2.281 kB / 0.7687 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003897/0.645, allocations: 183.5 kB / 0.7689 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.645, allocations: 5.406 kB / 0.7689 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.645, allocations: 11.12 kB / 0.7689 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.645, allocations: 7.344 kB / 0.7689 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.6452, allocations: 29.44 kB / 0.769 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.6452, allocations: 11.16 kB / 0.769 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.6453, allocations: 16.58 kB / 0.769 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.6454, allocations: 10.66 kB / 0.769 GB, free: 11.09 MB / 0.6231 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 (15): * Single equations (assignments): 15 * 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.0001588/0.6455, allocations: 142.7 kB / 0.7691 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.6457, allocations: 25.45 kB / 0.7692 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.646, allocations: 129.9 kB / 0.7693 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.646, allocations: 3.156 kB / 0.7693 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.646, allocations: 0 / 0.7693 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.646, allocations: 8.938 kB / 0.7693 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008903/0.6469, allocations: 0.6878 MB / 0.77 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.6469, allocations: 4.344 kB / 0.77 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.647, allocations: 26.62 kB / 0.77 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.647, allocations: 10.91 kB / 0.77 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.6471, allocations: 3 kB / 0.77 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.6471, allocations: 0 / 0.77 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6471, allocations: 3.312 kB / 0.77 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.6476, allocations: 327.8 kB / 0.7703 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.6477, allocations: 26.84 kB / 0.7703 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.6477, allocations: 5.438 kB / 0.7703 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.6478, allocations: 14.91 kB / 0.7704 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.6479, allocations: 10.02 kB / 0.7704 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.6479, allocations: 7.25 kB / 0.7704 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001393/0.648, allocations: 147.3 kB / 0.7705 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9.1e-08/0.648, allocations: 0 / 0.7705 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003944/0.6484, allocations: 65.17 kB / 0.7706 GB, free: 9.875 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.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 (10): * Single equations (assignments): 10 * 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.0002596/0.6487, allocations: 122.3 kB / 0.7707 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003708/0.649, allocations: 125.1 kB / 0.7708 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.649, allocations: 0 / 0.7708 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.6492, allocations: 62.83 kB / 0.7709 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.6498, allocations: 77.62 kB / 0.771 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009645/0.6507, allocations: 438.2 kB / 0.7714 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.6509, allocations: 148 kB / 0.7715 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.651, allocations: 42.66 kB / 0.7716 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.651, allocations: 19.25 kB / 0.7716 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of SimCode: time 3.81e-07/0.651, allocations: 0 / 0.7716 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of Templates: time 0.008008/0.6591, allocations: 2.729 MB / 0.7742 GB, free: 8.023 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.566597808152437] Failed to read output from testmodel.py, exit status != 0: 0.66911656036973 0.6995439840000001 0.057289054000000006 Calling exit ...