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.00186/0.00186, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001752/0.001752, allocations: 210.8 kB / 22.25 MB, free: 5.082 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 8 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.1355/0.1355, allocations: 23.9 MB / 336.3 MB, free: 11.15 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.001924/0.001924, allocations: 67.91 kB / 471.2 MB, free: 7.648 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3382, allocations: 59.86 MB / 0.5186 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005023/0.3432, allocations: 4.329 MB / 0.5229 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009055/0.3523, allocations: 8.774 MB / 0.5314 GB, free: 144 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/0.353, allocations: 9.562 kB / 0.5314 GB, free: 140 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.3536, allocations: 179.7 kB / 0.5316 GB, free: 40 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002539/0.3561, allocations: 0.7972 MB / 0.5324 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0034/0.3595, allocations: 1.026 MB / 0.5334 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00184/0.3614, allocations: 0.8858 MB / 0.5343 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008145/0.3622, allocations: 426 kB / 0.5347 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007646/0.3629, allocations: 452.8 kB / 0.5351 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007908/0.3637, allocations: 485.4 kB / 0.5356 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.3639, allocations: 76.19 kB / 0.5356 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/0.3675, allocations: 0.9096 MB / 0.5365 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002329/0.3677, allocations: 174 kB / 0.5367 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005002/0.3682, allocations: 412.3 kB / 0.5371 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00421/0.3724, allocations: 1.842 MB / 0.5389 GB, free: 12.58 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3724, allocations: 0 / 0.5389 GB, free: 12.58 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3724, allocations: 3.938 kB / 0.5389 GB, free: 12.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.3724, allocations: 4.75 kB / 0.5389 GB, free: 12.57 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.002267/0.3747, allocations: 1.102 MB / 0.54 GB, free: 11.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3747, allocations: 10.38 kB / 0.54 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.3749, allocations: 108.6 kB / 0.5401 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006264/0.3755, allocations: 152.7 kB / 0.5402 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000796/0.3763, allocations: 410.6 kB / 0.5406 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.3763, allocations: 49 kB / 0.5407 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.3765, allocations: 69.2 kB / 0.5407 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.3777, allocations: 0.7567 MB / 0.5415 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.3778, allocations: 1.594 kB / 0.5415 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.681e-05/0.3778, allocations: 33 kB / 0.5415 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.3778, allocations: 15.56 kB / 0.5415 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.3793, allocations: 0.8693 MB / 0.5424 GB, free: 10.8 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.003918/0.3832, allocations: 2.311 MB / 0.5446 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.3847, allocations: 0.8189 MB / 0.5454 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/0.3852, allocations: 255.3 kB / 0.5457 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003765/0.3889, allocations: 1.604 MB / 0.5472 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.389, allocations: 48.61 kB / 0.5473 GB, free: 8.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.844e-06/0.389, allocations: 0 / 0.5473 GB, free: 8.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01542/0.4044, allocations: 2.652 MB / 0.5499 GB, free: 6.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.4044, allocations: 57.47 kB / 0.5499 GB, free: 6.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005355/0.405, allocations: 410.3 kB / 0.5503 GB, free: 6.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.405, allocations: 36.2 kB / 0.5503 GB, free: 6.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.4053, allocations: 374.4 kB / 0.5507 GB, free: 6.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.4055, allocations: 210.2 kB / 0.5509 GB, free: 5.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.4057, allocations: 139.1 kB / 0.551 GB, free: 5.734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4059, allocations: 367.2 kB / 0.5514 GB, free: 5.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.4062, allocations: 206.6 kB / 0.5516 GB, free: 5.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/0.4068, allocations: 459.1 kB / 0.552 GB, free: 4.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.4078, allocations: 0.7222 MB / 0.5527 GB, free: 4.266 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4078, allocations: 2.812 kB / 0.5527 GB, free: 4.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004587/0.4124, allocations: 1.129 MB / 0.5538 GB, free: 3.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.4124, allocations: 9.219 kB / 0.5538 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.4124, allocations: 11.94 kB / 0.5538 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003572/0.416, allocations: 440 kB / 0.5543 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.4165, allocations: 163.5 kB / 0.5544 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00767/0.4242, allocations: 4.452 MB / 0.5588 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006305/0.4248, allocations: 25.19 kB / 0.5588 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.134e-05/0.4249, allocations: 49.02 kB / 0.5588 GB, free: 15.51 MB / 414.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.000366/0.4252, allocations: 207.2 kB / 0.559 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.4254, allocations: 56.22 kB / 0.5591 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005478/0.4308, allocations: 1.081 MB / 0.5601 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.4309, allocations: 4 kB / 0.5602 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4309, allocations: 12 kB / 0.5602 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.4309, allocations: 7.922 kB / 0.5602 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006394/0.4373, allocations: 1.775 MB / 0.5619 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.4373, allocations: 224 / 0.5619 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.4376, allocations: 91.91 kB / 0.562 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00461/0.4422, allocations: 0.5135 MB / 0.5625 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.4423, allocations: 20 kB / 0.5625 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008509/0.4508, allocations: 5.644 MB / 0.568 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4508, allocations: 4.031 kB / 0.568 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005798/0.4566, allocations: 1.407 MB / 0.5694 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.4568, allocations: 51.62 kB / 0.5695 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.746e-05/0.4569, allocations: 16.03 kB / 0.5695 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.4572, allocations: 12 kB / 0.5695 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.4574, allocations: 72.27 kB / 0.5695 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/0.4574, allocations: 20 kB / 0.5696 GB, free: 4.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003741/0.4578, allocations: 271.1 kB / 0.5698 GB, free: 4.242 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4578, allocations: 0 / 0.5698 GB, free: 4.242 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001772/0.4596, allocations: 407.1 kB / 0.5702 GB, free: 3.844 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.007053/0.4666, allocations: 2.298 MB / 0.5725 GB, free: 1.488 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.4684, allocations: 0.8655 MB / 0.5733 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4684, allocations: 0 / 0.5733 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.4695, allocations: 0.71 MB / 0.574 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008906/0.4704, allocations: 141.2 kB / 0.5741 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/0.4847, allocations: 6.104 MB / 0.5801 GB, free: 9.254 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/0.4854, allocations: 0.8913 MB / 0.581 GB, free: 8.332 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004868/0.4859, allocations: 128.8 kB / 0.5811 GB, free: 8.203 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/0.4863, allocations: 286.2 kB / 0.5814 GB, free: 7.926 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4863, allocations: 0 / 0.5814 GB, free: 7.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06764/0.5539, allocations: 22.64 MB / 0.6035 GB, free: 1.508 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/15.33, allocations: 4.062 kB / 0.6035 GB, free: 1.504 MB / 446.1 MB " [Timeout remaining time 645] (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 sys.exit(0), Time elapsed: 18.061440837103873] Failed to read output from testmodel.py, exit status != 0: 15.459607030963525 15.484659993 15.107197158 Calling exit ...