Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.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.001499/0.001499, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 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.001419/0.001419, allocations: 216 kB / 22.25 MB, free: 5.105 MB / 14.72 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1268/0.1268, allocations: 23.93 MB / 336.4 MB, free: 10.92 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical 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.001946/0.001946, allocations: 67.91 kB / 471.2 MB, free: 7.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.286, allocations: 59.86 MB / 0.5186 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.004327/0.2903, allocations: 3.921 MB / 0.5224 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008011/0.2984, allocations: 7.706 MB / 0.5299 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005668/0.2989, allocations: 12.69 kB / 0.53 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005749/0.2995, allocations: 163.7 kB / 0.5301 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.3013, allocations: 0.7851 MB / 0.5309 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.3037, allocations: 1.024 MB / 0.5319 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.3049, allocations: 0.8851 MB / 0.5327 GB, free: 60 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006184/0.3055, allocations: 424.3 kB / 0.5331 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000574/0.306, allocations: 453.5 kB / 0.5336 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007125/0.3068, allocations: 485.5 kB / 0.534 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.3069, allocations: 76.66 kB / 0.5341 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.3091, allocations: 0.8755 MB / 0.535 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.3093, allocations: 182.2 kB / 0.5351 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.3097, allocations: 345.9 kB / 0.5355 GB, free: 15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002679/0.3123, allocations: 1.838 MB / 0.5373 GB, free: 14.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3123, allocations: 0.7969 kB / 0.5373 GB, free: 14.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3123, allocations: 1.188 kB / 0.5373 GB, free: 14.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.3124, allocations: 4 kB / 0.5373 GB, free: 14.22 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001993/0.3144, allocations: 1.097 MB / 0.5383 GB, free: 13.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3144, allocations: 10.28 kB / 0.5384 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/0.3145, allocations: 111.1 kB / 0.5385 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006237/0.3152, allocations: 148.4 kB / 0.5386 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007875/0.3159, allocations: 406.9 kB / 0.539 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.881e-05/0.316, allocations: 53.94 kB / 0.539 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.3162, allocations: 65.19 kB / 0.5391 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.3174, allocations: 0.7578 MB / 0.5398 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.3174, allocations: 7.938 kB / 0.5399 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/0.3175, allocations: 25.09 kB / 0.5399 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.3175, allocations: 16.91 kB / 0.5399 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.3188, allocations: 0.8624 MB / 0.5407 GB, free: 12.46 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003611/0.3224, allocations: 1.866 MB / 0.5426 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.324, allocations: 0.8013 MB / 0.5433 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/0.3244, allocations: 258.4 kB / 0.5436 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003639/0.328, allocations: 1.528 MB / 0.5451 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.3281, allocations: 45 kB / 0.5451 GB, free: 10.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.194e-06/0.3281, allocations: 0 / 0.5451 GB, free: 10.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01757/0.3456, allocations: 2.65 MB / 0.5477 GB, free: 8.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.3457, allocations: 57.5 kB / 0.5478 GB, free: 8.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.3462, allocations: 429.4 kB / 0.5482 GB, free: 8.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.3463, allocations: 35.77 kB / 0.5482 GB, free: 8.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.3465, allocations: 377.6 kB / 0.5486 GB, free: 8.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.3467, allocations: 206.8 kB / 0.5488 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.3469, allocations: 144 kB / 0.5489 GB, free: 7.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.3471, allocations: 363.6 kB / 0.5493 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.3475, allocations: 205.3 kB / 0.5494 GB, free: 7.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005514/0.348, allocations: 462.5 kB / 0.5499 GB, free: 7.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009909/0.349, allocations: 0.7179 MB / 0.5506 GB, free: 6.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.349, allocations: 1.875 kB / 0.5506 GB, free: 6.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005004/0.354, allocations: 1.129 MB / 0.5517 GB, free: 5.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.354, allocations: 9.625 kB / 0.5517 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.354, allocations: 9.094 kB / 0.5517 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004022/0.3581, allocations: 443.2 kB / 0.5521 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/0.3585, allocations: 163.5 kB / 0.5523 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007654/0.3662, allocations: 4.409 MB / 0.5566 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005596/0.3667, allocations: 24 kB / 0.5566 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.446e-05/0.3668, allocations: 40.45 kB / 0.5567 GB, free: 1.809 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (81): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000321/0.3671, allocations: 212 kB / 0.5569 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.3673, allocations: 51.89 kB / 0.5569 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005897/0.3732, allocations: 1.089 MB / 0.558 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.3732, allocations: 8 kB / 0.558 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3732, allocations: 3.984 kB / 0.558 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3732, allocations: 7.938 kB / 0.558 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007017/0.3802, allocations: 1.697 MB / 0.5596 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3802, allocations: 4 kB / 0.5597 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.3806, allocations: 91.89 kB / 0.5597 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005348/0.3859, allocations: 0.506 MB / 0.5602 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.738e-05/0.386, allocations: 20 kB / 0.5603 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008849/0.3948, allocations: 5.581 MB / 0.5657 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.3948, allocations: 0 / 0.5657 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006236/0.4011, allocations: 1.407 MB / 0.5671 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.4013, allocations: 55.66 kB / 0.5671 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.4014, allocations: 12 kB / 0.5671 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.4017, allocations: 16 kB / 0.5672 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.4019, allocations: 72.27 kB / 0.5672 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/0.4019, allocations: 23.98 kB / 0.5672 GB, free: 6.676 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003122/0.4022, allocations: 267.3 kB / 0.5675 GB, free: 6.414 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4022, allocations: 4.125 kB / 0.5675 GB, free: 6.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001436/0.4037, allocations: 407 kB / 0.5679 GB, free: 6.012 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (Ethanol.logn,liquidWater.amountOfBonds,liquidWater.logn) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007512/0.4112, allocations: 2.295 MB / 0.5701 GB, free: 3.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.4129, allocations: 0.8694 MB / 0.571 GB, free: 2.762 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4129, allocations: 4.062 kB / 0.571 GB, free: 2.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.4141, allocations: 0.7021 MB / 0.5717 GB, free: 2.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008522/0.4149, allocations: 135.2 kB / 0.5718 GB, free: 1.887 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/0.43, allocations: 6.108 MB / 0.5778 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.4303, allocations: 301.6 kB / 0.5781 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004593/0.4308, allocations: 132.4 kB / 0.5782 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/0.4312, allocations: 282.1 kB / 0.5785 GB, free: 10.7 MB / 430.1 MB Notification: Performance of SimCode: time 1.442e-06/0.4312, allocations: 0 / 0.5785 GB, free: 10.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06277/0.4939, allocations: 23.49 MB / 0.6014 GB, free: 3.488 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.34, allocations: 6.719 kB / 0.6014 GB, free: 3.484 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol.fmu > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.827954717999091] Failed to read output from testmodel.py, exit status != 0: 13.474684663990047 13.497571735 13.181021357 Calling exit ...