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.0007802/0.0007802, 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.000812/0.000812, allocations: 217.7 kB / 22.26 MB, free: 3.703 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 0.9942/0.9942, allocations: 230.6 MB / 256 MB, free: 9.812 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.7869/0.7869, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.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: 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.001375/0.001375, allocations: 71.91 kB / 0.7182 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5296/0.531, allocations: 102 MB / 0.8179 GB, free: 1.105 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1541/0.6851, allocations: 164.9 MB / 0.9789 GB, free: 424 kB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004304/0.6894, allocations: 4.616 MB / 0.9834 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004387/0.6898, allocations: 19.88 kB / 0.9835 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0004893/0.6903, allocations: 123.1 kB / 0.9836 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0007701/0.6911, allocations: 350.4 kB / 0.9839 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007972/0.6919, allocations: 313.3 kB / 0.9842 GB, free: 11 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0007053/0.6926, allocations: 0.5729 MB / 0.9848 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.6929, allocations: 167.8 kB / 0.9849 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.6945, allocations: 0.6889 MB / 0.9856 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.6947, allocations: 203.2 kB / 0.9858 GB, free: 9.371 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.6947, allocations: 20 kB / 0.9858 GB, free: 9.352 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.6949, allocations: 79.94 kB / 0.9859 GB, free: 9.273 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 9.463e-05/0.695, allocations: 95.66 kB / 0.986 GB, free: 9.18 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 9.662e-05/0.6951, allocations: 127.4 kB / 0.9861 GB, free: 9.055 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.6954, allocations: 290.9 kB / 0.9864 GB, free: 8.77 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6954, allocations: 3.938 kB / 0.9864 GB, free: 8.766 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.384e-06/0.6955, allocations: 0 / 0.9864 GB, free: 8.766 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.6955, allocations: 0 / 0.9864 GB, free: 8.766 MB / 0.7605 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.0006465/0.6961, allocations: 480.7 kB / 0.9869 GB, free: 8.266 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.6961, allocations: 8.031 kB / 0.9869 GB, free: 8.258 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.406e-05/0.6962, allocations: 54.55 kB / 0.9869 GB, free: 8.195 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.6962, allocations: 31.75 kB / 0.9869 GB, free: 8.164 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.6965, allocations: 229.7 kB / 0.9872 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.6965, allocations: 20 kB / 0.9872 GB, free: 7.895 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.6966, allocations: 16 kB / 0.9872 GB, free: 7.879 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.6969, allocations: 261.7 kB / 0.9874 GB, free: 7.586 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.6969, allocations: 7.875 kB / 0.9875 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.6969, allocations: 8 kB / 0.9875 GB, free: 7.57 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.6969, allocations: 8 kB / 0.9875 GB, free: 7.562 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.6971, allocations: 144.5 kB / 0.9876 GB, free: 7.422 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.6981, allocations: 1.332 MB / 0.9889 GB, free: 6.008 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.6984, allocations: 183.7 kB / 0.9891 GB, free: 5.773 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.596e-05/0.6984, allocations: 89.11 kB / 0.9892 GB, free: 5.668 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/0.6986, allocations: 47.88 kB / 0.9892 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.6987, allocations: 42.44 kB / 0.9893 GB, free: 5.57 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/0.6987, allocations: 0 / 0.9893 GB, free: 5.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=10): time 0.0004107/0.6991, allocations: 209.5 kB / 0.9895 GB, free: 5.359 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/0.6992, allocations: 179.9 kB / 0.9896 GB, free: 5.141 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.6994, allocations: 292.2 kB / 0.9899 GB, free: 4.848 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.6994, allocations: 30.23 kB / 0.9899 GB, free: 4.812 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.995e-05/0.6995, allocations: 159.9 kB / 0.9901 GB, free: 4.652 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.6995, allocations: 35.69 kB / 0.9901 GB, free: 4.617 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/0.6996, allocations: 37.7 kB / 0.9902 GB, free: 4.574 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6997, allocations: 338.8 kB / 0.9905 GB, free: 4.234 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.901e-05/0.6998, allocations: 39.97 kB / 0.9905 GB, free: 4.195 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.6999, allocations: 123.8 kB / 0.9906 GB, free: 4.047 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.7001, allocations: 154.7 kB / 0.9908 GB, free: 3.871 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.7001, allocations: 4 kB / 0.9908 GB, free: 3.867 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002218/0.7003, allocations: 193.5 kB / 0.991 GB, free: 3.672 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.7003, allocations: 4 kB / 0.991 GB, free: 3.668 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.7003, allocations: 4 kB / 0.991 GB, free: 3.664 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.7004, allocations: 4 kB / 0.991 GB, free: 3.66 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.051e-05/0.7004, allocations: 27.92 kB / 0.991 GB, free: 3.633 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.7004, allocations: 4 kB / 0.991 GB, free: 3.629 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.129e-05/0.7005, allocations: 31.83 kB / 0.991 GB, free: 3.598 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.7006, allocations: 8 kB / 0.991 GB, free: 3.59 MB / 0.7605 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.0001011/0.7007, allocations: 153.7 kB / 0.9912 GB, free: 3.43 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.7007, allocations: 31.78 kB / 0.9912 GB, free: 3.398 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.7009, allocations: 127.1 kB / 0.9913 GB, free: 3.266 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.7009, allocations: 0 / 0.9913 GB, free: 3.266 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.7009, allocations: 4 kB / 0.9913 GB, free: 3.262 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7009, allocations: 0 / 0.9913 GB, free: 3.262 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008155/0.7018, allocations: 0.7487 MB / 0.9921 GB, free: 2.445 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.7018, allocations: 128 / 0.9921 GB, free: 2.445 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.802e-05/0.7018, allocations: 31.97 kB / 0.9921 GB, free: 2.414 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.7018, allocations: 0 / 0.9921 GB, free: 2.414 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.7019, allocations: 8 kB / 0.9921 GB, free: 2.406 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.7019, allocations: 3.938 kB / 0.9921 GB, free: 2.402 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7019, allocations: 4.156 kB / 0.9921 GB, free: 2.398 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.7022, allocations: 343.4 kB / 0.9925 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.7022, allocations: 43.77 kB / 0.9925 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.7023, allocations: 4 kB / 0.9925 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.604e-05/0.7023, allocations: 7.984 kB / 0.9925 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.7024, allocations: 15.92 kB / 0.9925 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.7024, allocations: 7.938 kB / 0.9925 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001379/0.7025, allocations: 211.1 kB / 0.9927 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.7025, allocations: 8 kB / 0.9927 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002444/0.7028, allocations: 51.94 kB / 0.9928 GB, free: 1.688 MB / 0.7605 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.0005877/0.7033, allocations: 0.8843 MB / 0.9937 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.7036, allocations: 116.2 kB / 0.9938 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7036, allocations: 4.125 kB / 0.9938 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 7.514e-05/0.7036, allocations: 59.89 kB / 0.9938 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.7041, allocations: 138.2 kB / 0.994 GB, free: 472 kB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.7062, allocations: 2.61 MB / 0.9965 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.7065, allocations: 0.7557 MB / 0.9972 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.7066, allocations: 62.23 kB / 0.9973 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.158e-05/0.7067, allocations: 63.42 kB / 0.9974 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of SimCode: time 8.72e-07/0.7067, allocations: 0 / 0.9974 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.7337, allocations: 7.02 MB / 1.004 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.728/7.462, allocations: 16.23 kB / 1.004 GB, free: 5.934 MB / 0.7761 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.455449709203094] Failed to read output from testmodel.py, exit status != 0: 7.544956546043977 7.552237384 6.8550686050000005 Calling exit ...