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.0008905/0.0008905, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008167/0.0008167, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9026/0.9026, allocations: 177.2 MB / 203.5 MB, free: 5.715 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.7642/0.7642, allocations: 154.5 MB / 414.5 MB, free: 0.8359 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: translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.764e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.3964/0.3964, allocations: 158.4 MB / 0.774 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006631/0.403, allocations: 7.186 MB / 0.781 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003788/0.4034, allocations: 24.56 kB / 0.781 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0006086/0.404, allocations: 254.5 kB / 0.7813 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.4063, allocations: 1.253 MB / 0.7825 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.4078, allocations: 0.8147 MB / 0.7833 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0008409/0.4086, allocations: 1.072 MB / 0.7843 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000651/0.4092, allocations: 333 kB / 0.7847 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.4112, allocations: 1.163 MB / 0.7858 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.4116, allocations: 385.4 kB / 0.7862 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.4117, allocations: 37.19 kB / 0.7862 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.4127, allocations: 0.7932 MB / 0.787 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.4128, allocations: 180.3 kB / 0.7871 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.413, allocations: 171.1 kB / 0.7873 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0009814/0.4139, allocations: 0.9493 MB / 0.7882 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.414, allocations: 0 / 0.7882 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.813e-06/0.414, allocations: 0 / 0.7882 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.414, allocations: 0 / 0.7882 GB, free: 9.055 MB / 0.6511 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.0008166/0.4148, allocations: 0.7461 MB / 0.789 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.4148, allocations: 15.5 kB / 0.789 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005171/0.4153, allocations: 155 kB / 0.7891 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.4157, allocations: 327.5 kB / 0.7894 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.4158, allocations: 28.91 kB / 0.7895 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.4158, allocations: 40.88 kB / 0.7895 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/0.4163, allocations: 449.4 kB / 0.7899 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4163, allocations: 5.297 kB / 0.7899 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.4163, allocations: 15.78 kB / 0.79 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.4163, allocations: 8.75 kB / 0.79 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003647/0.4167, allocations: 319.4 kB / 0.7903 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.4179, allocations: 1.403 MB / 0.7916 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.4182, allocations: 226.3 kB / 0.7919 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.4183, allocations: 134.1 kB / 0.792 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/0.4186, allocations: 75.84 kB / 0.7921 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.4186, allocations: 44.06 kB / 0.7921 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.4186, allocations: 4 kB / 0.7921 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.0006325/0.4192, allocations: 443.8 kB / 0.7925 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.4193, allocations: 58.09 kB / 0.7926 GB, free: 6.445 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.4195, allocations: 286.2 kB / 0.7929 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.4195, allocations: 32.67 kB / 0.7929 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.4196, allocations: 241 kB / 0.7931 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.181e-05/0.4196, allocations: 90.27 kB / 0.7932 GB, free: 5.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.4197, allocations: 52.09 kB / 0.7932 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.4198, allocations: 342.6 kB / 0.7936 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.4199, allocations: 113.8 kB / 0.7937 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.4202, allocations: 268.3 kB / 0.7939 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.4205, allocations: 306.1 kB / 0.7942 GB, free: 5.227 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.4205, allocations: 0 / 0.7942 GB, free: 5.227 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003614/0.4208, allocations: 359.3 kB / 0.7946 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.4208, allocations: 9.75 kB / 0.7946 GB, free: 5.074 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4208, allocations: 7.016 kB / 0.7946 GB, free: 5.074 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.4209, allocations: 2.562 kB / 0.7946 GB, free: 5.074 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.421, allocations: 59.52 kB / 0.7947 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.421, allocations: 4.672 kB / 0.7947 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.892e-05/0.4211, allocations: 29.97 kB / 0.7947 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.4211, allocations: 10.06 kB / 0.7947 GB, free: 5.051 MB / 0.6511 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.0001199/0.4212, allocations: 170.3 kB / 0.7949 GB, free: 4.906 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.4213, allocations: 33.69 kB / 0.7949 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.4217, allocations: 378.8 kB / 0.7952 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4217, allocations: 2.625 kB / 0.7953 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4217, allocations: 0 / 0.7953 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4217, allocations: 0 / 0.7953 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007774/0.4225, allocations: 0.8325 MB / 0.7961 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4225, allocations: 0 / 0.7961 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.4226, allocations: 51.55 kB / 0.7961 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4226, allocations: 4.812 kB / 0.7961 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.4226, allocations: 2.562 kB / 0.7961 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4226, allocations: 8.469 kB / 0.7961 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4226, allocations: 2.781 kB / 0.7961 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.4232, allocations: 0.6224 MB / 0.7967 GB, free: 3.875 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.006e-05/0.4232, allocations: 56.02 kB / 0.7968 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.4233, allocations: 13.84 kB / 0.7968 GB, free: 3.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.4233, allocations: 11.67 kB / 0.7968 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.4234, allocations: 28.88 kB / 0.7968 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.4234, allocations: 8.25 kB / 0.7969 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001111/0.4235, allocations: 198.2 kB / 0.797 GB, free: 3.715 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.4235, allocations: 0 / 0.797 GB, free: 3.715 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002887/0.4238, allocations: 129.5 kB / 0.7972 GB, free: 3.68 MB / 0.6511 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.0002305/0.424, allocations: 156.7 kB / 0.7973 GB, free: 3.566 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.4244, allocations: 279.5 kB / 0.7976 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4244, allocations: 0 / 0.7976 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.4245, allocations: 143.7 kB / 0.7977 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.425, allocations: 129.6 kB / 0.7978 GB, free: 3.414 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008276/0.4258, allocations: 0.7932 MB / 0.7986 GB, free: 2.895 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.4259, allocations: 224.8 kB / 0.7988 GB, free: 2.805 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/0.426, allocations: 33.97 kB / 0.7989 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of SimCode: time 5.01e-07/0.426, allocations: 0 / 0.7989 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of Templates: time 0.005068/0.4311, allocations: 5.915 MB / 0.8046 GB, free: 344 kB / 0.6511 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.397541676647961] Failed to read output from testmodel.py, exit status != 0: 0.43659241311252117 0.44394677699999996 0.028358703000000002 Calling exit ...