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.0008933/0.0008933, 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.001247/0.001247, allocations: 219.2 kB / 22.26 MB, free: 3.84 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.011/1.011, allocations: 230.6 MB / 256 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.7947/0.7947, allocations: 203.8 MB / 0.5042 GB, free: 10.63 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.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",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.0009809/0.0009809, allocations: 71.14 kB / 0.7182 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5897/0.5907, allocations: 102 MB / 0.8179 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1648/0.7555, allocations: 173.1 MB / 0.987 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.006748/0.7622, allocations: 7.251 MB / 0.994 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000472/0.7627, allocations: 15.88 kB / 0.9941 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.7632, allocations: 178.6 kB / 0.9942 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003009/0.7662, allocations: 1.327 MB / 0.9955 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.7677, allocations: 0.6899 MB / 0.9962 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008623/0.7685, allocations: 0.7719 MB / 0.9969 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.7689, allocations: 239.2 kB / 0.9972 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.7701, allocations: 0.7513 MB / 0.9979 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.7711, allocations: 458.3 kB / 0.9983 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.7712, allocations: 31.94 kB / 0.9984 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.7731, allocations: 1.364 MB / 0.9997 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.7732, allocations: 115.6 kB / 0.9998 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.7733, allocations: 179.1 kB / 1 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.7747, allocations: 0.9112 MB / 1.001 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.7747, allocations: 0 / 1.001 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7747, allocations: 0 / 1.001 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.7747, allocations: 0 / 1.001 GB, free: 9.996 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.0007449/0.7755, allocations: 0.629 MB / 1.001 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.7755, allocations: 12.03 kB / 1.002 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.262e-05/0.7756, allocations: 62.53 kB / 1.002 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000552/0.7761, allocations: 139.6 kB / 1.002 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.7765, allocations: 271.5 kB / 1.002 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/0.7766, allocations: 79.98 kB / 1.002 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.7766, allocations: 32 kB / 1.002 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.7771, allocations: 367.2 kB / 1.002 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.7771, allocations: 0 / 1.002 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.7771, allocations: 12 kB / 1.002 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.7771, allocations: 8 kB / 1.002 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.7774, allocations: 273.7 kB / 1.003 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.7787, allocations: 1.457 MB / 1.004 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.7789, allocations: 190.6 kB / 1.004 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.7791, allocations: 108.8 kB / 1.004 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003891/0.7795, allocations: 135.8 kB / 1.005 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.7795, allocations: 34.56 kB / 1.005 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.7795, allocations: 0 / 1.005 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0005795/0.7801, allocations: 361.2 kB / 1.005 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.7801, allocations: 55.41 kB / 1.005 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005486/0.7806, allocations: 316.5 kB / 1.005 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.7807, allocations: 25.7 kB / 1.005 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.7807, allocations: 188.3 kB / 1.005 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.7808, allocations: 47.59 kB / 1.006 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.7808, allocations: 49.66 kB / 1.006 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.7809, allocations: 346.7 kB / 1.006 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.781, allocations: 83.94 kB / 1.006 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.7812, allocations: 153.8 kB / 1.006 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.7814, allocations: 229.8 kB / 1.006 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.7814, allocations: 8 kB / 1.006 GB, free: 4.062 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003403/0.7818, allocations: 284.4 kB / 1.007 GB, free: 3.781 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.7818, allocations: 8 kB / 1.007 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7818, allocations: 0 / 1.007 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.7818, allocations: 4 kB / 1.007 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.7819, allocations: 48.03 kB / 1.007 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.7819, allocations: 4 kB / 1.007 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.7821, allocations: 35.77 kB / 1.007 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.7821, allocations: 11.94 kB / 1.007 GB, free: 3.672 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.0001135/0.7822, allocations: 157.7 kB / 1.007 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.205e-05/0.7823, allocations: 31.8 kB / 1.007 GB, free: 3.477 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/0.7827, allocations: 319 kB / 1.007 GB, free: 3.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.7827, allocations: 0 / 1.007 GB, free: 3.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.7827, allocations: 3.938 kB / 1.007 GB, free: 3.156 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7827, allocations: 0 / 1.007 GB, free: 3.156 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008477/0.7835, allocations: 0.7762 MB / 1.008 GB, free: 2.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.7835, allocations: 4 kB / 1.008 GB, free: 2.305 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.702e-05/0.7836, allocations: 35.92 kB / 1.008 GB, free: 2.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.7836, allocations: 7.938 kB / 1.008 GB, free: 2.262 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.7837, allocations: 4 kB / 1.008 GB, free: 2.258 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.7837, allocations: 4.219 kB / 1.008 GB, free: 2.254 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7837, allocations: 4 kB / 1.008 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.784, allocations: 409.1 kB / 1.008 GB, free: 1.812 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.7841, allocations: 55.78 kB / 1.008 GB, free: 1.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.7841, allocations: 7.938 kB / 1.008 GB, free: 1.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.7842, allocations: 15.98 kB / 1.008 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.7843, allocations: 15.91 kB / 1.009 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.7843, allocations: 16 kB / 1.009 GB, free: 1.703 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001449/0.7844, allocations: 227 kB / 1.009 GB, free: 1.484 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.7844, allocations: 0 / 1.009 GB, free: 1.484 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004003/0.7848, allocations: 127.7 kB / 1.009 GB, free: 1.359 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.0008337/0.7857, allocations: 1.04 MB / 1.01 GB, free: 276 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003314/0.786, allocations: 219.7 kB / 1.01 GB, free: 56 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.786, allocations: 0 / 1.01 GB, free: 56 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.7862, allocations: 115.9 kB / 1.01 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.7867, allocations: 161.1 kB / 1.01 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.7898, allocations: 3.042 MB / 1.013 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.7901, allocations: 0.7949 MB / 1.014 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002557/0.7903, allocations: 84.95 kB / 1.014 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.7905, allocations: 107.3 kB / 1.014 GB, free: 11.58 MB / 0.7917 GB Notification: Performance of SimCode: time 1.292e-06/0.7905, allocations: 0 / 1.014 GB, free: 11.58 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.8191, allocations: 10.72 MB / 1.025 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/7.838, allocations: 9.297 kB / 1.025 GB, free: 1.059 MB / 0.7917 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.95275865891017] Failed to read output from testmodel.py, exit status != 0: 7.923907353077084 7.941003372 7.164313948 Calling exit ...