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.00135/0.00135, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.001346/0.001346, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.569/1.569, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1439/0.1439, allocations: 23.88 MB / 333.4 MB, free: 1.188 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="cs",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.002072/0.002072, allocations: 64.14 kB / 466.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1227, allocations: 59.83 MB / 0.5142 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.006304/0.129, allocations: 4.3 MB / 0.5184 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.1412, allocations: 8.74 MB / 0.5269 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006546/0.1418, allocations: 15.88 kB / 0.527 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007401/0.1426, allocations: 182.8 kB / 0.5271 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002701/0.1453, allocations: 0.7993 MB / 0.5279 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.1486, allocations: 1.006 MB / 0.5289 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.1501, allocations: 0.8811 MB / 0.5298 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006406/0.1508, allocations: 420.2 kB / 0.5302 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005823/0.1514, allocations: 454.8 kB / 0.5306 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007032/0.1521, allocations: 482.3 kB / 0.5311 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.1522, allocations: 80 kB / 0.5311 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003603/0.1558, allocations: 0.9049 MB / 0.532 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.156, allocations: 183.4 kB / 0.5322 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004678/0.1565, allocations: 414.1 kB / 0.5326 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005194/0.1617, allocations: 1.84 MB / 0.5344 GB, free: 8.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.1617, allocations: 4 kB / 0.5344 GB, free: 8.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1617, allocations: 0 / 0.5344 GB, free: 8.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.1617, allocations: 0 / 0.5344 GB, free: 8.168 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.002491/0.1642, allocations: 1.172 MB / 0.5355 GB, free: 6.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.1643, allocations: 12.03 kB / 0.5355 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.275e-05/0.1643, allocations: 22.19 kB / 0.5356 GB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001479/0.1644, allocations: 106.7 kB / 0.5357 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007171/0.1652, allocations: 152.2 kB / 0.5358 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008726/0.166, allocations: 471.6 kB / 0.5363 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/0.1661, allocations: 50.38 kB / 0.5363 GB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.1662, allocations: 72.36 kB / 0.5364 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.1676, allocations: 0.7585 MB / 0.5371 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.1676, allocations: 0 / 0.5371 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.531e-05/0.1677, allocations: 24 kB / 0.5371 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.1677, allocations: 16 kB / 0.5372 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.1692, allocations: 0.8706 MB / 0.538 GB, free: 4.352 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.004124/0.1733, allocations: 2.362 MB / 0.5403 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.1751, allocations: 0.9675 MB / 0.5413 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/0.1755, allocations: 254.9 kB / 0.5415 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004465/0.18, allocations: 2.856 MB / 0.5443 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.094e-05/0.18, allocations: 46.34 kB / 0.5443 GB, free: 13.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.465e-06/0.18, allocations: 0 / 0.5443 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=56): time 0.01641/0.1964, allocations: 2.809 MB / 0.5471 GB, free: 10.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/0.1965, allocations: 55.97 kB / 0.5471 GB, free: 10.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006095/0.1971, allocations: 409.7 kB / 0.5475 GB, free: 9.988 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.59e-05/0.1972, allocations: 41.7 kB / 0.5476 GB, free: 9.941 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.1975, allocations: 368.2 kB / 0.5479 GB, free: 9.574 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/0.1978, allocations: 210.2 kB / 0.5481 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.1981, allocations: 146.6 kB / 0.5483 GB, free: 9.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002475/0.1984, allocations: 362.8 kB / 0.5486 GB, free: 8.855 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/0.1989, allocations: 205.9 kB / 0.5488 GB, free: 8.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007281/0.1996, allocations: 458.2 kB / 0.5492 GB, free: 8.094 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.2008, allocations: 0.7251 MB / 0.5499 GB, free: 7.254 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2008, allocations: 0 / 0.5499 GB, free: 7.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004935/0.2057, allocations: 1.132 MB / 0.551 GB, free: 6.109 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.2058, allocations: 8 kB / 0.5511 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.2058, allocations: 8 kB / 0.5511 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003715/0.2095, allocations: 457.7 kB / 0.5515 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.2101, allocations: 159.8 kB / 0.5516 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008768/0.2188, allocations: 4.641 MB / 0.5562 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006145/0.2195, allocations: 24 kB / 0.5562 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/0.2195, allocations: 43.98 kB / 0.5562 GB, free: 0.4961 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.0004039/0.2199, allocations: 210.5 kB / 0.5564 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.2201, allocations: 59.62 kB / 0.5565 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005454/0.2255, allocations: 1.08 MB / 0.5576 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.2256, allocations: 4 kB / 0.5576 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.2256, allocations: 4 kB / 0.5576 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.2256, allocations: 8.016 kB / 0.5576 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006523/0.2321, allocations: 1.809 MB / 0.5593 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.2321, allocations: 0 / 0.5593 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.2325, allocations: 87.91 kB / 0.5594 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004779/0.2372, allocations: 0.5099 MB / 0.5599 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.786e-05/0.2373, allocations: 27.98 kB / 0.5599 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009434/0.2467, allocations: 5.954 MB / 0.5658 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/0.2468, allocations: 4 kB / 0.5658 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006054/0.2528, allocations: 1.416 MB / 0.5672 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.2531, allocations: 128.7 kB / 0.5673 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/0.2531, allocations: 12 kB / 0.5673 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.2535, allocations: 15.94 kB / 0.5673 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.2537, allocations: 64.41 kB / 0.5674 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.545e-05/0.2538, allocations: 24 kB / 0.5674 GB, free: 4.477 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003854/0.2542, allocations: 271.1 kB / 0.5676 GB, free: 4.219 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2542, allocations: 4 kB / 0.5676 GB, free: 4.215 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001605/0.2558, allocations: 403.1 kB / 0.568 GB, free: 3.82 MB / 430.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.00721/0.263, allocations: 2.3 MB / 0.5703 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.2649, allocations: 0.8657 MB / 0.5711 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.2649, allocations: 4.062 kB / 0.5711 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.2661, allocations: 0.7025 MB / 0.5718 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008854/0.267, allocations: 141 kB / 0.5719 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.2817, allocations: 6.09 MB / 0.5779 GB, free: 9.234 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006202/0.2824, allocations: 0.903 MB / 0.5788 GB, free: 8.305 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004853/0.2828, allocations: 128.8 kB / 0.5789 GB, free: 8.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004298/0.2833, allocations: 274.1 kB / 0.5792 GB, free: 7.914 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2833, allocations: 0 / 0.5792 GB, free: 7.914 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2737/0.557, allocations: 21.99 MB / 0.6006 GB, free: 65.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.17, allocations: 3.156 kB / 0.6006 GB, free: 65.33 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.250485335011035] Failed to read output from testmodel.py, exit status != 0: 15.334066043025814 15.344904828 15.180910933 Calling exit ...