Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008257/0.0008257, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008722/0.0008722, allocations: 165.9 kB / 22.46 MB, free: 2.105 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 0.8692/0.8692, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.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.7069/0.7069, allocations: 154.5 MB / 413.7 MB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.44e-05, allocations: 9.188 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4355/0.4355, allocations: 142.2 MB / 0.7569 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003182/0.4387, allocations: 4.175 MB / 0.761 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.4389, allocations: 13.91 kB / 0.761 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.4393, allocations: 143.4 kB / 0.7611 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0006503/0.4399, allocations: 347.1 kB / 0.7615 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005831/0.4405, allocations: 332.1 kB / 0.7618 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004968/0.441, allocations: 0.5575 MB / 0.7623 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.4413, allocations: 159.6 kB / 0.7625 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.4425, allocations: 0.7433 MB / 0.7632 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.4427, allocations: 166.5 kB / 0.7634 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.4428, allocations: 17.09 kB / 0.7634 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.4429, allocations: 85.38 kB / 0.7635 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.443, allocations: 94.3 kB / 0.7636 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.052e-05/0.4431, allocations: 82.56 kB / 0.7636 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.4435, allocations: 306.1 kB / 0.7639 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4435, allocations: 1.25 kB / 0.7639 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4435, allocations: 3.938 kB / 0.7639 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.4435, allocations: 0 / 0.7639 GB, free: 7.844 MB / 0.6355 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.0006671/0.4441, allocations: 470.4 kB / 0.7644 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4442, allocations: 15.12 kB / 0.7644 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.4442, allocations: 48.84 kB / 0.7644 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.4443, allocations: 38.38 kB / 0.7645 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.4446, allocations: 233.8 kB / 0.7647 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.4446, allocations: 16.44 kB / 0.7647 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.4446, allocations: 16.28 kB / 0.7647 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.445, allocations: 262.3 kB / 0.765 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.445, allocations: 1.438 kB / 0.765 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.445, allocations: 11.17 kB / 0.765 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.445, allocations: 9.234 kB / 0.765 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.4452, allocations: 154.1 kB / 0.7651 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008166/0.446, allocations: 1.291 MB / 0.7664 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.4462, allocations: 176.5 kB / 0.7666 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.4463, allocations: 92.88 kB / 0.7667 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.4465, allocations: 48.2 kB / 0.7667 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.4465, allocations: 39.17 kB / 0.7667 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.4465, allocations: 0 / 0.7667 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003905/0.4469, allocations: 213 kB / 0.7669 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.447, allocations: 183.9 kB / 0.7671 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.4472, allocations: 294.2 kB / 0.7674 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.4472, allocations: 32.14 kB / 0.7674 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.4472, allocations: 146.7 kB / 0.7676 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.4473, allocations: 39.48 kB / 0.7676 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.4473, allocations: 34.48 kB / 0.7676 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.624e-05/0.4473, allocations: 336.9 kB / 0.768 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.698e-05/0.4474, allocations: 45.31 kB / 0.768 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.4475, allocations: 223.9 kB / 0.7682 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.4477, allocations: 162.3 kB / 0.7684 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4477, allocations: 1.156 kB / 0.7684 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002279/0.448, allocations: 192.5 kB / 0.7686 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.448, allocations: 6.875 kB / 0.7686 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.448, allocations: 0.9375 kB / 0.7686 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.448, allocations: 7.875 kB / 0.7686 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.305e-05/0.4481, allocations: 32.58 kB / 0.7686 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.4481, allocations: 3.016 kB / 0.7686 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.314e-05/0.4482, allocations: 25.83 kB / 0.7686 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.4482, allocations: 11.91 kB / 0.7686 GB, free: 4.066 MB / 0.6355 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 8.308e-05/0.4483, allocations: 144.7 kB / 0.7688 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.4484, allocations: 32.64 kB / 0.7688 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.4486, allocations: 124.4 kB / 0.7689 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4486, allocations: 6.312 kB / 0.7689 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.4486, allocations: 1.75 kB / 0.7689 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4486, allocations: 1.938 kB / 0.7689 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000508/0.4491, allocations: 0.7342 MB / 0.7697 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.4491, allocations: 2.875 kB / 0.7697 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-05/0.4492, allocations: 22.09 kB / 0.7697 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4492, allocations: 2.25 kB / 0.7697 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.4492, allocations: 6.125 kB / 0.7697 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.4492, allocations: 2.688 kB / 0.7697 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4492, allocations: 5.828 kB / 0.7697 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.4495, allocations: 345.9 kB / 0.77 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.4496, allocations: 36.12 kB / 0.7701 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.4496, allocations: 2.984 kB / 0.7701 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.4496, allocations: 6.719 kB / 0.7701 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.4497, allocations: 13.5 kB / 0.7701 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.4497, allocations: 7.703 kB / 0.7701 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001398/0.4498, allocations: 215.2 kB / 0.7703 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4498, allocations: 0 / 0.7703 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002284/0.4501, allocations: 60.22 kB / 0.7704 GB, free: 2.777 MB / 0.6355 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.0004954/0.4506, allocations: 0.8939 MB / 0.7712 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.4508, allocations: 118 kB / 0.7713 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4508, allocations: 0.5 kB / 0.7713 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.697e-05/0.4509, allocations: 62.39 kB / 0.7714 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.4514, allocations: 126 kB / 0.7715 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.4534, allocations: 2.585 MB / 0.774 GB, free: 120 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.4535, allocations: 144.1 kB / 0.7742 GB, free: 40 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.4536, allocations: 54.86 kB / 0.7742 GB, free: 28 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.4537, allocations: 68.09 kB / 0.7743 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of SimCode: time 5.31e-07/0.4537, allocations: 0 / 0.7743 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.4761, allocations: 7.958 MB / 0.7821 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.452/7.928, allocations: 3.188 kB / 0.7821 GB, free: 14.59 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.544782024808228] Failed to read output from testmodel.py, exit status != 0: 8.010752917267382 8.023069214 7.576973867 Calling exit ...