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.001522/0.001522, allocations: 105.4 kB / 16.45 MB, free: 6.398 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.001602/0.001602, allocations: 216.8 kB / 19.43 MB, free: 3.73 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.464/1.464, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.1427/0.1427, allocations: 23.88 MB / 332.7 MB, free: 12.34 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.001985/0.001985, allocations: 75.91 kB / 466 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3801, allocations: 59.84 MB / 0.5135 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005419/0.3855, allocations: 4.299 MB / 0.5177 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.396, allocations: 8.744 MB / 0.5263 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008307/0.3968, allocations: 13.88 kB / 0.5263 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007664/0.3976, allocations: 187.8 kB / 0.5265 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002821/0.4004, allocations: 0.7911 MB / 0.5272 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003474/0.4039, allocations: 1.016 MB / 0.5282 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001535/0.4054, allocations: 0.8865 MB / 0.5291 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006706/0.4061, allocations: 417 kB / 0.5295 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006145/0.4067, allocations: 457.4 kB / 0.5299 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007065/0.4074, allocations: 482.2 kB / 0.5304 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.4075, allocations: 80.06 kB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003646/0.4112, allocations: 0.9087 MB / 0.5314 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.4114, allocations: 181.7 kB / 0.5315 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004708/0.4119, allocations: 414.2 kB / 0.5319 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004274/0.4161, allocations: 1.837 MB / 0.5337 GB, free: 12.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4161, allocations: 0 / 0.5337 GB, free: 12.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4161, allocations: 0 / 0.5337 GB, free: 12.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.4162, allocations: 0 / 0.5337 GB, free: 12.06 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.002441/0.4186, allocations: 1.18 MB / 0.5349 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.4186, allocations: 10.19 kB / 0.5349 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001649/0.4188, allocations: 107.1 kB / 0.535 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006911/0.4195, allocations: 149.5 kB / 0.5351 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008293/0.4203, allocations: 468 kB / 0.5356 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.4204, allocations: 49.53 kB / 0.5356 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.4205, allocations: 68.25 kB / 0.5357 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.4218, allocations: 0.7528 MB / 0.5364 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.4218, allocations: 0.9688 kB / 0.5364 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.328e-05/0.4219, allocations: 30.33 kB / 0.5364 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.4219, allocations: 18.47 kB / 0.5365 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.4235, allocations: 0.8718 MB / 0.5373 GB, free: 10.14 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.004121/0.4276, allocations: 2.35 MB / 0.5396 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.4293, allocations: 0.9771 MB / 0.5406 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.4298, allocations: 252.3 kB / 0.5408 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004457/0.4342, allocations: 2.863 MB / 0.5436 GB, free: 5.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.4342, allocations: 40.47 kB / 0.5436 GB, free: 5.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.485e-06/0.4342, allocations: 0 / 0.5436 GB, free: 5.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01526/0.4495, allocations: 2.815 MB / 0.5464 GB, free: 4.312 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.4496, allocations: 57.53 kB / 0.5464 GB, free: 4.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/0.4502, allocations: 414.5 kB / 0.5468 GB, free: 3.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.289e-05/0.4502, allocations: 35.89 kB / 0.5469 GB, free: 3.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.4505, allocations: 370.1 kB / 0.5472 GB, free: 3.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.4507, allocations: 214.4 kB / 0.5474 GB, free: 3.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.451, allocations: 143.9 kB / 0.5476 GB, free: 3.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.4512, allocations: 366 kB / 0.5479 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.4516, allocations: 202.7 kB / 0.5481 GB, free: 2.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005954/0.4522, allocations: 463.9 kB / 0.5486 GB, free: 2.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.4533, allocations: 0.7229 MB / 0.5493 GB, free: 1.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.4533, allocations: 7.188 kB / 0.5493 GB, free: 1.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004476/0.4577, allocations: 1.131 MB / 0.5504 GB, free: 1.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.4578, allocations: 8.688 kB / 0.5504 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.4578, allocations: 7.281 kB / 0.5504 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003478/0.4613, allocations: 449.3 kB / 0.5508 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/0.4618, allocations: 159.2 kB / 0.551 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007995/0.4698, allocations: 4.642 MB / 0.5555 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007117/0.4705, allocations: 25.09 kB / 0.5555 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.044e-05/0.4706, allocations: 44.52 kB / 0.5556 GB, free: 12.89 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.0004056/0.471, allocations: 210.9 kB / 0.5558 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.4712, allocations: 57.56 kB / 0.5558 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005199/0.4764, allocations: 1.084 MB / 0.5569 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.4764, allocations: 5.5 kB / 0.5569 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4764, allocations: 2.75 kB / 0.5569 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.4764, allocations: 7.922 kB / 0.5569 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006396/0.4828, allocations: 1.8 MB / 0.5587 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.4828, allocations: 6.734 kB / 0.5587 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.4831, allocations: 89.97 kB / 0.5587 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004373/0.4875, allocations: 0.5128 MB / 0.5592 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.164e-05/0.4876, allocations: 18.03 kB / 0.5593 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009401/0.497, allocations: 5.954 MB / 0.5651 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/0.497, allocations: 12.03 kB / 0.5651 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005762/0.5027, allocations: 1.401 MB / 0.5665 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.5031, allocations: 128.8 kB / 0.5666 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.5032, allocations: 16 kB / 0.5666 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/0.5037, allocations: 12 kB / 0.5666 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.5039, allocations: 64.36 kB / 0.5667 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.465e-05/0.5039, allocations: 23.98 kB / 0.5667 GB, free: 2.852 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004228/0.5044, allocations: 271.2 kB / 0.567 GB, free: 2.594 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5044, allocations: 0 / 0.567 GB, free: 2.594 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001944/0.5063, allocations: 403.1 kB / 0.5673 GB, free: 2.199 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.007362/0.5137, allocations: 2.312 MB / 0.5696 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.5156, allocations: 0.858 MB / 0.5704 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.5156, allocations: 12.06 kB / 0.5704 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.517, allocations: 0.6985 MB / 0.5711 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.518, allocations: 160.2 kB / 0.5713 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/0.5334, allocations: 6.087 MB / 0.5772 GB, free: 7.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000783/0.5341, allocations: 0.8991 MB / 0.5781 GB, free: 6.664 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004768/0.5346, allocations: 132.1 kB / 0.5782 GB, free: 6.535 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/0.5351, allocations: 274.3 kB / 0.5785 GB, free: 6.27 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5351, allocations: 0 / 0.5785 GB, free: 6.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07285/0.608, allocations: 21.95 MB / 0.5999 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.32, allocations: 6.5 kB / 0.5999 GB, free: 0.5234 MB / 446.1 MB " [Timeout remaining time 646] (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: 17.039295445894822] Failed to read output from testmodel.py, exit status != 0: 14.42726671602577 14.449590322 14.029263529 Calling exit ...