Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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.001257/0.001257, allocations: 117.6 kB / 19.7 MB, free: 0.5273 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.001535/0.001535, allocations: 215.9 kB / 23.01 MB, free: 3.098 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.966/0.966, allocations: 230.6 MB / 256.8 MB, free: 9.824 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.7528/0.7528, allocations: 203.8 MB / 0.5049 GB, free: 10.75 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: translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") [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.001133/0.001133, allocations: 66.8 kB / 0.7195 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5307/0.5319, allocations: 102 MB / 0.8191 GB, free: 1.559 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1478/0.6797, allocations: 173.1 MB / 0.9882 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005845/0.6856, allocations: 7.246 MB / 0.9953 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004165/0.686, allocations: 19.81 kB / 0.9953 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0004852/0.6865, allocations: 170.7 kB / 0.9954 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00252/0.689, allocations: 1.334 MB / 0.9967 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.6902, allocations: 0.6936 MB / 0.9974 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008722/0.6911, allocations: 0.768 MB / 0.9982 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003481/0.6915, allocations: 239.2 kB / 0.9984 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.6926, allocations: 0.7513 MB / 0.9991 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000646/0.6933, allocations: 454.4 kB / 0.9996 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.6933, allocations: 28 kB / 0.9996 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.695, allocations: 1.364 MB / 1.001 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.6951, allocations: 119.6 kB / 1.001 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.6953, allocations: 175.1 kB / 1.001 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.6966, allocations: 0.9111 MB / 1.002 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6966, allocations: 4 kB / 1.002 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6966, allocations: 0 / 1.002 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.6966, allocations: 0 / 1.002 GB, free: 10.03 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0007495/0.6973, allocations: 0.6329 MB / 1.003 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.6974, allocations: 8.031 kB / 1.003 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005407/0.6979, allocations: 131.6 kB / 1.003 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.6983, allocations: 275.6 kB / 1.003 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.444e-05/0.6984, allocations: 72.06 kB / 1.003 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.6984, allocations: 35.94 kB / 1.003 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.699, allocations: 367.2 kB / 1.004 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.699, allocations: 0 / 1.004 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.699, allocations: 12 kB / 1.004 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.699, allocations: 4 kB / 1.004 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.6993, allocations: 277.7 kB / 1.004 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.7005, allocations: 1.465 MB / 1.005 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.7008, allocations: 189.1 kB / 1.005 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.7009, allocations: 108.8 kB / 1.006 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003695/0.7013, allocations: 131.8 kB / 1.006 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.7013, allocations: 42.5 kB / 1.006 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.7013, allocations: 0 / 1.006 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0005466/0.7019, allocations: 357.2 kB / 1.006 GB, free: 5.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.7019, allocations: 51.41 kB / 1.006 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.7021, allocations: 312.5 kB / 1.006 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.7021, allocations: 33.7 kB / 1.006 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/0.7022, allocations: 188.4 kB / 1.007 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.7022, allocations: 55.52 kB / 1.007 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.7023, allocations: 49.64 kB / 1.007 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.832e-05/0.7024, allocations: 342.8 kB / 1.007 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.7025, allocations: 83.94 kB / 1.007 GB, free: 4.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.7026, allocations: 151.2 kB / 1.007 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.7029, allocations: 241.8 kB / 1.008 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7029, allocations: 4 kB / 1.008 GB, free: 4.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003378/0.7032, allocations: 285.2 kB / 1.008 GB, free: 3.875 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.7033, allocations: 8.172 kB / 1.008 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7033, allocations: 8 kB / 1.008 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.7033, allocations: 4 kB / 1.008 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.7034, allocations: 31.98 kB / 1.008 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.7034, allocations: 4 kB / 1.008 GB, free: 3.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.7035, allocations: 35.77 kB / 1.008 GB, free: 3.785 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.7035, allocations: 15.92 kB / 1.008 GB, free: 3.77 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.000106/0.7036, allocations: 157.7 kB / 1.008 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.7037, allocations: 27.81 kB / 1.008 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/0.7041, allocations: 319.9 kB / 1.008 GB, free: 3.262 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.7041, allocations: 0 / 1.008 GB, free: 3.262 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7041, allocations: 0 / 1.008 GB, free: 3.262 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7041, allocations: 0 / 1.008 GB, free: 3.262 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007632/0.7049, allocations: 0.78 MB / 1.009 GB, free: 2.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7049, allocations: 4 kB / 1.009 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-05/0.705, allocations: 32.2 kB / 1.009 GB, free: 2.375 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.738e-06/0.705, allocations: 8 kB / 1.009 GB, free: 2.367 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.705, allocations: 11.92 kB / 1.009 GB, free: 2.355 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.705, allocations: 4 kB / 1.009 GB, free: 2.352 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.705, allocations: 3.938 kB / 1.009 GB, free: 2.348 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.7053, allocations: 400.2 kB / 1.01 GB, free: 1.922 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.7054, allocations: 55.72 kB / 1.01 GB, free: 1.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.7054, allocations: 11.88 kB / 1.01 GB, free: 1.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.7055, allocations: 15.98 kB / 1.01 GB, free: 1.84 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.7056, allocations: 20.02 kB / 1.01 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.7056, allocations: 19.98 kB / 1.01 GB, free: 1.801 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001368/0.7057, allocations: 227 kB / 1.01 GB, free: 1.582 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.7057, allocations: 0 / 1.01 GB, free: 1.582 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003661/0.7061, allocations: 119.8 kB / 1.01 GB, free: 1.465 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 (16): * Single equations (assignments): 16 * 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.0004081/0.7065, allocations: 218.9 kB / 1.01 GB, free: 1.238 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003066/0.7068, allocations: 223.4 kB / 1.01 GB, free: 1.023 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7068, allocations: 3.938 kB / 1.01 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.7069, allocations: 111.8 kB / 1.011 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.7074, allocations: 161.5 kB / 1.011 GB, free: 0.7539 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007691/0.7082, allocations: 0.6302 MB / 1.011 GB, free: 72 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.7085, allocations: 0.7948 MB / 1.012 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.756e-05/0.7085, allocations: 35.42 kB / 1.012 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of SimCode: time 7.81e-07/0.7085, allocations: 0 / 1.012 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of Templates: time 0.00685/0.7154, allocations: 6.341 MB / 1.018 GB, free: 8.926 MB / 0.7917 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.424115809844807] Failed to read output from testmodel.py, exit status != 0: 0.7218064968474209 0.72903765 0.030802247 Calling exit ...