Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001039/0.001039, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001217/0.001217, allocations: 217.7 kB / 22.25 MB, free: 3.699 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 1.024/1.024, allocations: 230.6 MB / 256 MB, free: 9.789 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.8042/0.8042, allocations: 203.8 MB / 0.5042 GB, free: 10.68 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.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",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.0009245/0.0009245, allocations: 69.48 kB / 0.7182 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5569/0.5578, allocations: 102 MB / 0.8179 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1625/0.7203, allocations: 171.2 MB / 0.9851 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005647/0.7259, allocations: 6.657 MB / 0.9916 GB, free: 3.5 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.7262, allocations: 15.88 kB / 0.9916 GB, free: 3.484 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0004367/0.7266, allocations: 174.7 kB / 0.9917 GB, free: 3.312 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.728, allocations: 0.8869 MB / 0.9926 GB, free: 2.422 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000647/0.7287, allocations: 367.9 kB / 0.993 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0008681/0.7295, allocations: 0.7251 MB / 0.9937 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000289/0.7298, allocations: 223.2 kB / 0.9939 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009024/0.7307, allocations: 0.7395 MB / 0.9946 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.731, allocations: 275 kB / 0.9949 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.731, allocations: 24 kB / 0.9949 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003997/0.7314, allocations: 359.2 kB / 0.9952 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.346e-05/0.7315, allocations: 111.6 kB / 0.9953 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.7316, allocations: 167.1 kB / 0.9955 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004506/0.7321, allocations: 474.2 kB / 0.9959 GB, free: 15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7321, allocations: 0 / 0.9959 GB, free: 15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7321, allocations: 0 / 0.9959 GB, free: 15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.7321, allocations: 4 kB / 0.9959 GB, free: 14.99 MB / 0.7761 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.000664/0.7327, allocations: 0.5399 MB / 0.9965 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.7328, allocations: 16.02 kB / 0.9965 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.386e-05/0.7328, allocations: 62.55 kB / 0.9966 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.7331, allocations: 71.61 kB / 0.9966 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.7336, allocations: 259.6 kB / 0.9969 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.7336, allocations: 20.66 kB / 0.9969 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.7337, allocations: 24 kB / 0.9969 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.7341, allocations: 324.8 kB / 0.9972 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.7341, allocations: 3.984 kB / 0.9972 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.7341, allocations: 12 kB / 0.9972 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.7342, allocations: 8 kB / 0.9972 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.7344, allocations: 209.4 kB / 0.9974 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.7358, allocations: 1.492 MB / 0.9989 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.736, allocations: 106.5 kB / 0.999 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.7361, allocations: 92.8 kB / 0.9991 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.7364, allocations: 71.91 kB / 0.9992 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.7364, allocations: 34.56 kB / 0.9992 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.7364, allocations: 4 kB / 0.9992 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0004719/0.7369, allocations: 273.5 kB / 0.9995 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.7369, allocations: 51.41 kB / 0.9995 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.7371, allocations: 304.6 kB / 0.9998 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.7371, allocations: 33.7 kB / 0.9998 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.7375, allocations: 192.2 kB / 1 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.7375, allocations: 43.64 kB / 1 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.7376, allocations: 37.67 kB / 1 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.073e-05/0.7377, allocations: 338.8 kB / 1 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.391e-05/0.7378, allocations: 59.94 kB / 1 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.7379, allocations: 111.1 kB / 1.001 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.7381, allocations: 184.8 kB / 1.001 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7381, allocations: 0 / 1.001 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002332/0.7383, allocations: 213.3 kB / 1.001 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.7383, allocations: 8 kB / 1.001 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7383, allocations: 0 / 1.001 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.7383, allocations: 4 kB / 1.001 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.7384, allocations: 36.12 kB / 1.001 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.7384, allocations: 7.984 kB / 1.001 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.678e-05/0.7385, allocations: 31.77 kB / 1.001 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.7386, allocations: 8 kB / 1.001 GB, free: 9.438 MB / 0.7761 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.0001027/0.7387, allocations: 149.7 kB / 1.001 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.7387, allocations: 31.81 kB / 1.001 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.739, allocations: 212.2 kB / 1.001 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.739, allocations: 8 kB / 1.001 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.739, allocations: 0 / 1.001 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.739, allocations: 0 / 1.001 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006184/0.7396, allocations: 0.6592 MB / 1.002 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.7396, allocations: 7.922 kB / 1.002 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.389e-05/0.7397, allocations: 23.98 kB / 1.002 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.7397, allocations: 4 kB / 1.002 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.7397, allocations: 15.88 kB / 1.002 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.7397, allocations: 4 kB / 1.002 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7397, allocations: 224 / 1.002 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.7399, allocations: 339.6 kB / 1.002 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.74, allocations: 39.8 kB / 1.002 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.74, allocations: 11.94 kB / 1.002 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.7401, allocations: 11.98 kB / 1.003 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.7401, allocations: 15.92 kB / 1.003 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.7401, allocations: 4 kB / 1.003 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001339/0.7403, allocations: 231 kB / 1.003 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7403, allocations: 0 / 1.003 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002337/0.7405, allocations: 75.83 kB / 1.003 GB, free: 7.496 MB / 0.7761 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.0005483/0.7411, allocations: 0.9093 MB / 1.004 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.7413, allocations: 154.8 kB / 1.004 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.7413, allocations: 0 / 1.004 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.459e-05/0.7414, allocations: 80.64 kB / 1.004 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.7419, allocations: 140.4 kB / 1.004 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.7441, allocations: 2.821 MB / 1.007 GB, free: 3.199 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.7446, allocations: 0.7795 MB / 1.008 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001324/0.7447, allocations: 70.92 kB / 1.008 GB, free: 2.324 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.7448, allocations: 91.41 kB / 1.008 GB, free: 2.238 MB / 0.7761 GB Notification: Performance of SimCode: time 3.81e-07/0.7448, allocations: 3.938 kB / 1.008 GB, free: 2.234 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.7673, allocations: 8.308 MB / 1.016 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.02/7.787, allocations: 14.86 kB / 1.016 GB, free: 10.11 MB / 0.7917 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.861505721928552] Failed to read output from testmodel.py, exit status != 0: 7.868991245049983 7.877695185 7.143806805 Calling exit ...