Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 118.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.443/1.443, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 67.89 kB / 373.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1088, allocations: 53.32 MB / 426.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006733/0.1155, allocations: 4.564 MB / 431.4 MB, free: 284 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1859/0.3014, allocations: 1.815 MB / 433.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.377e-05/0.3015, allocations: 1.719 kB / 433.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.3017, allocations: 44.05 kB / 433.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.3021, allocations: 123.7 kB / 433.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.3027, allocations: 247.5 kB / 433.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.303, allocations: 292.3 kB / 433.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.303, allocations: 5.562 kB / 433.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.3033, allocations: 138.8 kB / 434.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3034, allocations: 79.28 kB / 434.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.3034, allocations: 9.219 kB / 434.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.3036, allocations: 109.2 kB / 434.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.76e-05/0.3037, allocations: 36.94 kB / 434.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.961e-05/0.3038, allocations: 77.44 kB / 434.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.3041, allocations: 230.2 kB / 434.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3041, allocations: 3.906 kB / 434.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3041, allocations: 1.688 kB / 434.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.3041, allocations: 0 / 434.6 MB, free: 7.422 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008598/0.305, allocations: 495.1 kB / 435.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.305, allocations: 10.5 kB / 435.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.952e-05/0.3051, allocations: 51.09 kB / 435.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.3053, allocations: 20.23 kB / 435.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.3055, allocations: 212.5 kB / 435.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3055, allocations: 11.28 kB / 435.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.3056, allocations: 16.42 kB / 435.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.306, allocations: 217.1 kB / 435.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.306, allocations: 1.062 kB / 435.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.306, allocations: 6.844 kB / 435.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.306, allocations: 3.312 kB / 435.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.3064, allocations: 154.3 kB / 435.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.3075, allocations: 0.9533 MB / 436.7 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.3079, allocations: 139.3 kB / 436.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.3081, allocations: 56.58 kB / 436.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004643/0.3085, allocations: 0.5021 MB / 437.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.3085, allocations: 35.72 kB / 437.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.3085, allocations: 0 / 437.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002486/0.311, allocations: 0.7731 MB / 438.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.3111, allocations: 55.19 kB / 438.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.3112, allocations: 160 kB / 438.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3112, allocations: 31.41 kB / 438.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.3112, allocations: 140.9 kB / 438.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.3113, allocations: 74.12 kB / 438.7 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-05/0.3114, allocations: 58.09 kB / 438.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.3114, allocations: 331.6 kB / 439.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.3117, allocations: 82.53 kB / 439.2 MB, free: 4.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.3119, allocations: 191 kB / 439.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005041/0.3125, allocations: 294.9 kB / 439.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3125, allocations: 1.125 kB / 439.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006534/0.3131, allocations: 320.1 kB / 439.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3131, allocations: 9.906 kB / 440 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3131, allocations: 4.281 kB / 440 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.3132, allocations: 6.156 kB / 440 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.3135, allocations: 86.77 kB / 440 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.3135, allocations: 6.734 kB / 440.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.3138, allocations: 15.42 kB / 440.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.3138, allocations: 16.67 kB / 440.1 MB, free: 4.004 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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.0001035/0.3139, allocations: 135 kB / 440.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.314, allocations: 22.36 kB / 440.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000634/0.3146, allocations: 242.8 kB / 440.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3146, allocations: 2.812 kB / 440.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3146, allocations: 0 / 440.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3146, allocations: 6.656 kB / 440.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.3158, allocations: 0.6015 MB / 441.1 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3158, allocations: 1.188 kB / 441.1 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/0.3161, allocations: 54.73 kB / 441.1 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.3161, allocations: 2.859 kB / 441.1 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.3162, allocations: 5.141 kB / 441.1 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.3162, allocations: 3.562 kB / 441.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3162, allocations: 6.672 kB / 441.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/0.3169, allocations: 413 kB / 441.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.753e-05/0.317, allocations: 106.6 kB / 441.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.3171, allocations: 6.859 kB / 441.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.3173, allocations: 17.77 kB / 441.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.3173, allocations: 11.33 kB / 441.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.3174, allocations: 16.5 kB / 441.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.525e-05/0.3174, allocations: 114.8 kB / 441.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3174, allocations: 0 / 441.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003953/0.3178, allocations: 66.84 kB / 441.9 MB, free: 3.086 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (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 Backend phase and start with SimCode phase: time 0.0009981/0.3188, allocations: 0.9596 MB / 442.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000622/0.3194, allocations: 206.2 kB / 443.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.3194, allocations: 4.312 kB / 443.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.3197, allocations: 85.61 kB / 443.1 MB, free: 2.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.3201, allocations: 42.34 kB / 443.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.3233, allocations: 2.386 MB / 445.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.3235, allocations: 0.7131 MB / 446.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002458/0.3237, allocations: 43.53 kB / 446.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.3239, allocations: 51.72 kB / 446.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3239, allocations: 0 / 446.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.355, allocations: 4.545 MB / 450.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.355, allocations: 5.156 kB / 450.9 MB, free: 15.21 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.602086074650288] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T'] 8.42338530998677 8.437273112 8.130271031 Calling exit ...