Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.0009037/0.0009037, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001126/0.001126, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.004/1.004, allocations: 230.6 MB / 256 MB, free: 9.594 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.8272/0.8272, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.0009559/0.0009559, allocations: 62.75 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.521/0.5219, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1466/0.6685, allocations: 158.6 MB / 0.9726 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005881/0.6744, allocations: 7.218 MB / 0.9797 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004871/0.6749, allocations: 27.75 kB / 0.9797 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000561/0.6754, allocations: 254.2 kB / 0.98 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.6773, allocations: 1.213 MB / 0.9811 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.6784, allocations: 0.7771 MB / 0.9819 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0007327/0.6791, allocations: 1.083 MB / 0.983 GB, free: 12 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003833/0.6795, allocations: 333.7 kB / 0.9833 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.681, allocations: 1.017 MB / 0.9843 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.6814, allocations: 430.4 kB / 0.9847 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.6814, allocations: 36 kB / 0.9847 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007551/0.6822, allocations: 0.7792 MB / 0.9855 GB, free: 9.422 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.6823, allocations: 163.5 kB / 0.9856 GB, free: 9.262 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.6824, allocations: 199.1 kB / 0.9858 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0008198/0.6832, allocations: 0.9148 MB / 0.9867 GB, free: 8.148 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.6832, allocations: 0 / 0.9867 GB, free: 8.148 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6832, allocations: 4 kB / 0.9867 GB, free: 8.145 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.6832, allocations: 3.938 kB / 0.9867 GB, free: 8.141 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0007928/0.684, allocations: 0.7458 MB / 0.9875 GB, free: 7.363 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.6841, allocations: 8.031 kB / 0.9875 GB, free: 7.355 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.893e-05/0.6841, allocations: 82.45 kB / 0.9875 GB, free: 7.266 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005358/0.6847, allocations: 155.5 kB / 0.9877 GB, free: 7.113 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.6851, allocations: 328.5 kB / 0.988 GB, free: 6.766 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.6851, allocations: 29 kB / 0.988 GB, free: 6.738 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.6851, allocations: 47.98 kB / 0.9881 GB, free: 6.691 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005862/0.6857, allocations: 442.4 kB / 0.9885 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.6857, allocations: 0 / 0.9885 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.6858, allocations: 23.94 kB / 0.9885 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.6858, allocations: 8 kB / 0.9885 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/0.6861, allocations: 327.7 kB / 0.9888 GB, free: 5.879 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.6873, allocations: 1.496 MB / 0.9903 GB, free: 4.316 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.6876, allocations: 214.5 kB / 0.9905 GB, free: 4.098 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.6877, allocations: 140.8 kB / 0.9906 GB, free: 3.957 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/0.688, allocations: 79.92 kB / 0.9907 GB, free: 3.879 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.688, allocations: 38.5 kB / 0.9908 GB, free: 3.832 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=24): time 1.323e-06/0.688, allocations: 0 / 0.9908 GB, free: 3.832 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24): time 0.000608/0.6886, allocations: 459.7 kB / 0.9912 GB, free: 3.379 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.6886, allocations: 55.41 kB / 0.9912 GB, free: 3.312 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.6889, allocations: 397.9 kB / 0.9916 GB, free: 2.914 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.6889, allocations: 37.64 kB / 0.9917 GB, free: 2.871 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.6892, allocations: 232.5 kB / 0.9919 GB, free: 2.641 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.6892, allocations: 83.28 kB / 0.992 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-05/0.6893, allocations: 57.69 kB / 0.992 GB, free: 2.496 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.6894, allocations: 358.7 kB / 0.9924 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.6895, allocations: 111.9 kB / 0.9925 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.6897, allocations: 263.8 kB / 0.9927 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.69, allocations: 302.4 kB / 0.993 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.69, allocations: 4 kB / 0.993 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000368/0.6904, allocations: 364.9 kB / 0.9934 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.6904, allocations: 10.19 kB / 0.9934 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6904, allocations: 3.984 kB / 0.9934 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.6904, allocations: 4 kB / 0.9934 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.6906, allocations: 60.12 kB / 0.9934 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.6906, allocations: 4 kB / 0.9934 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.6907, allocations: 39.7 kB / 0.9935 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.6907, allocations: 19.98 kB / 0.9935 GB, free: 0.9062 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 (31): * Single equations (assignments): 31 * 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.000115/0.6908, allocations: 165.7 kB / 0.9937 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.6909, allocations: 43.72 kB / 0.9937 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.6913, allocations: 365.1 kB / 0.994 GB, free: 336 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.6913, allocations: 4 kB / 0.994 GB, free: 332 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.6913, allocations: 4 kB / 0.9941 GB, free: 328 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6913, allocations: 7.922 kB / 0.9941 GB, free: 320 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008432/0.6921, allocations: 0.8737 MB / 0.9949 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6921, allocations: 4 kB / 0.9949 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.6923, allocations: 52.12 kB / 0.995 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.6923, allocations: 3.938 kB / 0.995 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.6923, allocations: 12 kB / 0.995 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.6923, allocations: 0 / 0.995 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.6923, allocations: 7.984 kB / 0.995 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005699/0.6929, allocations: 0.6239 MB / 0.9956 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.76e-05/0.6929, allocations: 83.55 kB / 0.9957 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.693, allocations: 8.062 kB / 0.9957 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.6931, allocations: 12 kB / 0.9957 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.6931, allocations: 27.84 kB / 0.9957 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.6931, allocations: 11.98 kB / 0.9957 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001842/0.6933, allocations: 283.1 kB / 0.996 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.6933, allocations: 0 / 0.996 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002908/0.6936, allocations: 115.8 kB / 0.9961 GB, free: 14.1 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.0008721/0.6945, allocations: 1.218 MB / 0.9973 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003665/0.6949, allocations: 283.6 kB / 0.9976 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6949, allocations: 0 / 0.9976 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.695, allocations: 147 kB / 0.9977 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/0.6956, allocations: 212.1 kB / 0.9979 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/0.6987, allocations: 3.796 MB / 1.002 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.6988, allocations: 235.9 kB / 1.002 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001804/0.699, allocations: 91.41 kB / 1.002 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.6991, allocations: 139.4 kB / 1.002 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.6991, allocations: 0 / 1.002 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.7231, allocations: 13.07 MB / 1.015 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.728/7.451, allocations: 13.06 kB / 1.015 GB, free: 11.01 MB / 0.7917 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.633867852855474] Failed to read output from testmodel.py, exit status != 0: 7.536700120195746 7.546609934 6.860785223 Calling exit ...