Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.0007656/0.0007656, 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.0007781/0.0007781, allocations: 169.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.9018/0.9018, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7082/0.7082, allocations: 154.6 MB / 413.8 MB, free: 0.7773 MB / 378.7 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 179] 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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.6181 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.827e-05, allocations: 2.281 kB / 0.6181 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4327/0.4327, allocations: 147.7 MB / 0.7624 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005416/0.4381, allocations: 5.996 MB / 0.7682 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002559/0.4383, allocations: 19.81 kB / 0.7683 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.4388, allocations: 186.6 kB / 0.7684 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.4402, allocations: 0.8628 MB / 0.7693 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006867/0.4409, allocations: 392.4 kB / 0.7697 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005601/0.4414, allocations: 0.7056 MB / 0.7704 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.4418, allocations: 219.1 kB / 0.7706 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.4428, allocations: 0.8214 MB / 0.7714 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.443, allocations: 239.3 kB / 0.7716 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.4431, allocations: 24 kB / 0.7716 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.4434, allocations: 291.1 kB / 0.7719 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.935e-05/0.4435, allocations: 123.6 kB / 0.772 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.4437, allocations: 107.8 kB / 0.7721 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004452/0.4442, allocations: 486.5 kB / 0.7726 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4442, allocations: 0 / 0.7726 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4442, allocations: 0 / 0.7726 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.4442, allocations: 4 kB / 0.7726 GB, free: 2.297 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006091/0.4448, allocations: 0.5438 MB / 0.7731 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.4448, allocations: 8.031 kB / 0.7731 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.4449, allocations: 58.55 kB / 0.7732 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/0.4451, allocations: 59.73 kB / 0.7732 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.4455, allocations: 275.8 kB / 0.7735 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4455, allocations: 16.66 kB / 0.7735 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.4455, allocations: 28 kB / 0.7735 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.4459, allocations: 325 kB / 0.7738 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4459, allocations: 0 / 0.7738 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.4459, allocations: 8 kB / 0.7739 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.4459, allocations: 11.98 kB / 0.7739 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.4462, allocations: 205.8 kB / 0.7741 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009942/0.4472, allocations: 1.192 MB / 0.7752 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.4473, allocations: 121.3 kB / 0.7753 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.931e-05/0.4474, allocations: 81.05 kB / 0.7754 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002731/0.4477, allocations: 75.92 kB / 0.7755 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.4477, allocations: 34.5 kB / 0.7755 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.4477, allocations: 4 kB / 0.7755 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0004495/0.4482, allocations: 268.5 kB / 0.7758 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.4482, allocations: 59.41 kB / 0.7758 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.4484, allocations: 308.5 kB / 0.7761 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.4484, allocations: 33.64 kB / 0.7762 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.4485, allocations: 184.2 kB / 0.7763 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.4486, allocations: 47.59 kB / 0.7764 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.4486, allocations: 37.72 kB / 0.7764 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.792e-05/0.4487, allocations: 342.8 kB / 0.7768 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-05/0.4488, allocations: 55.95 kB / 0.7768 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.4489, allocations: 192.9 kB / 0.777 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.4491, allocations: 177 kB / 0.7772 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4491, allocations: 0 / 0.7772 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002416/0.4494, allocations: 218.7 kB / 0.7774 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.4494, allocations: 7.984 kB / 0.7774 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4494, allocations: 4 kB / 0.7774 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4494, allocations: 3.781 kB / 0.7774 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.4495, allocations: 39.92 kB / 0.7774 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.4495, allocations: 0 / 0.7774 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.928e-05/0.4496, allocations: 35.77 kB / 0.7775 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.4496, allocations: 4 kB / 0.7775 GB, free: 13.03 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001072/0.4497, allocations: 150.8 kB / 0.7776 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.4497, allocations: 27.8 kB / 0.7776 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.45, allocations: 216.2 kB / 0.7778 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.45, allocations: 4 kB / 0.7778 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.45, allocations: 4 kB / 0.7778 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.45, allocations: 3.938 kB / 0.7778 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006314/0.4507, allocations: 0.6319 MB / 0.7785 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4507, allocations: 4.219 kB / 0.7785 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.49e-05/0.4507, allocations: 27.92 kB / 0.7785 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.4507, allocations: 4 kB / 0.7785 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.4507, allocations: 12.03 kB / 0.7785 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.4507, allocations: 4 kB / 0.7785 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4508, allocations: 7.922 kB / 0.7785 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.451, allocations: 329.2 kB / 0.7788 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.4511, allocations: 43.78 kB / 0.7789 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.4511, allocations: 12.88 kB / 0.7789 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.4512, allocations: 8 kB / 0.7789 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.4514, allocations: 23.84 kB / 0.7789 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.4514, allocations: 4 kB / 0.7789 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001377/0.4516, allocations: 223.1 kB / 0.7791 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.4516, allocations: 0 / 0.7791 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002478/0.4518, allocations: 79.81 kB / 0.7792 GB, free: 11.11 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0005704/0.4524, allocations: 0.8976 MB / 0.7801 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.4526, allocations: 162.2 kB / 0.7802 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4526, allocations: 0 / 0.7802 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.4528, allocations: 83.81 kB / 0.7803 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.4532, allocations: 147.1 kB / 0.7805 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.4555, allocations: 2.803 MB / 0.7832 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.4556, allocations: 175.7 kB / 0.7834 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.4557, allocations: 62.92 kB / 0.7834 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.65e-05/0.4558, allocations: 92.47 kB / 0.7835 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of SimCode: time 3.91e-07/0.4558, allocations: 0 / 0.7835 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.4762, allocations: 9.298 MB / 0.7926 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.606/7.082, allocations: 6.719 kB / 0.7926 GB, free: 13.52 MB / 0.6667 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.719683643430471] Failed to read output from testmodel.py, exit status != 0: 7.167859505861998 7.176817744 6.730902627 Calling exit ...