Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001451/0.001451, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001398/0.001398, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.558/1.558, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1548/0.1548, allocations: 23.86 MB / 333.4 MB, free: 1.215 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_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.002031/0.002031, allocations: 64.39 kB / 466.7 MB, free: 30.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1273, allocations: 59.83 MB / 0.5142 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.008538/0.1359, allocations: 4.302 MB / 0.5184 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.151, allocations: 8.736 MB / 0.5269 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.152, allocations: 19.88 kB / 0.5269 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008909/0.1529, allocations: 186.8 kB / 0.5271 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002647/0.1556, allocations: 0.7876 MB / 0.5279 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003522/0.1591, allocations: 1.006 MB / 0.5288 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001641/0.1607, allocations: 0.8889 MB / 0.5297 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007774/0.1615, allocations: 420.2 kB / 0.5301 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000844/0.1624, allocations: 458.7 kB / 0.5305 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.1634, allocations: 478.4 kB / 0.531 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003075/0.1637, allocations: 76 kB / 0.5311 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003217/0.1669, allocations: 0.9088 MB / 0.532 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002998/0.1672, allocations: 187.4 kB / 0.5321 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000663/0.1679, allocations: 414.1 kB / 0.5325 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004132/0.172, allocations: 1.836 MB / 0.5343 GB, free: 8.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.172, allocations: 0 / 0.5343 GB, free: 8.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1721, allocations: 0 / 0.5343 GB, free: 8.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.383e-05/0.1721, allocations: 0 / 0.5343 GB, free: 8.219 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.002537/0.1746, allocations: 1.18 MB / 0.5355 GB, free: 6.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1747, allocations: 12.03 kB / 0.5355 GB, free: 6.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.114e-05/0.1747, allocations: 18.19 kB / 0.5355 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001611/0.1749, allocations: 110.7 kB / 0.5356 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007409/0.1756, allocations: 152.1 kB / 0.5358 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008473/0.1765, allocations: 467.7 kB / 0.5362 GB, free: 6.199 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.359e-05/0.1765, allocations: 50.38 kB / 0.5363 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.1767, allocations: 64.38 kB / 0.5363 GB, free: 6.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.1781, allocations: 0.7586 MB / 0.5371 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.1781, allocations: 3.984 kB / 0.5371 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.468e-05/0.1782, allocations: 24 kB / 0.5371 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.1782, allocations: 23.94 kB / 0.5371 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.1799, allocations: 0.8706 MB / 0.538 GB, free: 4.395 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.005235/0.1852, allocations: 2.354 MB / 0.5403 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/0.1875, allocations: 0.961 MB / 0.5412 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005083/0.188, allocations: 262.9 kB / 0.5414 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004762/0.1927, allocations: 2.852 MB / 0.5442 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.1928, allocations: 46.34 kB / 0.5443 GB, free: 13.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.304e-06/0.1928, allocations: 0 / 0.5443 GB, free: 13.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=56): time 0.01565/0.2084, allocations: 2.804 MB / 0.547 GB, free: 10.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.2085, allocations: 67.97 kB / 0.5471 GB, free: 10.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006192/0.2091, allocations: 409.7 kB / 0.5475 GB, free: 10.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.345e-05/0.2092, allocations: 37.7 kB / 0.5475 GB, free: 9.992 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.2095, allocations: 368.2 kB / 0.5479 GB, free: 9.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.2097, allocations: 210.2 kB / 0.5481 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.2099, allocations: 146.6 kB / 0.5482 GB, free: 9.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.2101, allocations: 358.8 kB / 0.5485 GB, free: 8.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.2105, allocations: 213.9 kB / 0.5487 GB, free: 8.699 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006285/0.2112, allocations: 458.2 kB / 0.5492 GB, free: 8.141 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.2123, allocations: 0.7173 MB / 0.5499 GB, free: 7.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2123, allocations: 4 kB / 0.5499 GB, free: 7.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004711/0.217, allocations: 1.141 MB / 0.551 GB, free: 6.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.217, allocations: 8 kB / 0.551 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.217, allocations: 8 kB / 0.551 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003628/0.2206, allocations: 449.2 kB / 0.5514 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005538/0.2212, allocations: 159.7 kB / 0.5516 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008263/0.2295, allocations: 4.642 MB / 0.5561 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/0.23, allocations: 28 kB / 0.5562 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.2302, allocations: 44.05 kB / 0.5562 GB, free: 0.5391 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.0003765/0.2305, allocations: 210.4 kB / 0.5564 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.2307, allocations: 55.62 kB / 0.5565 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005401/0.2361, allocations: 1.084 MB / 0.5575 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.2361, allocations: 4 kB / 0.5575 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.2361, allocations: 4 kB / 0.5575 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.2361, allocations: 7.938 kB / 0.5575 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006548/0.2427, allocations: 1.797 MB / 0.5593 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.946e-06/0.2427, allocations: 7.938 kB / 0.5593 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.2431, allocations: 96.2 kB / 0.5594 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004606/0.2477, allocations: 0.5097 MB / 0.5599 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.2478, allocations: 23.98 kB / 0.5599 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01017/0.258, allocations: 5.95 MB / 0.5657 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.258, allocations: 11.97 kB / 0.5657 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005947/0.2639, allocations: 1.405 MB / 0.5671 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/0.2642, allocations: 132.7 kB / 0.5672 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.2644, allocations: 16.03 kB / 0.5672 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.2648, allocations: 15.94 kB / 0.5673 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/0.265, allocations: 64.42 kB / 0.5673 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.43e-05/0.2651, allocations: 24 kB / 0.5673 GB, free: 4.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004456/0.2655, allocations: 271.1 kB / 0.5676 GB, free: 4.262 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2655, allocations: 0 / 0.5676 GB, free: 4.262 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001783/0.2673, allocations: 403.1 kB / 0.568 GB, free: 3.867 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.007143/0.2744, allocations: 2.3 MB / 0.5702 GB, free: 1.508 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.2764, allocations: 0.8619 MB / 0.5711 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2764, allocations: 0 / 0.5711 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.2776, allocations: 0.7065 MB / 0.5718 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009353/0.2786, allocations: 147.4 kB / 0.5719 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.2935, allocations: 6.09 MB / 0.5778 GB, free: 9.281 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.2942, allocations: 0.8913 MB / 0.5787 GB, free: 8.363 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004946/0.2947, allocations: 132.8 kB / 0.5788 GB, free: 8.234 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004293/0.2951, allocations: 282 kB / 0.5791 GB, free: 7.961 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2951, allocations: 0 / 0.5791 GB, free: 7.961 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3596/0.6547, allocations: 21.97 MB / 0.6006 GB, free: 65.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.33, allocations: 14.69 kB / 0.6006 GB, free: 65.4 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol.fmu > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.501974740007427] Failed to read output from testmodel.py, exit status != 0: 15.504787760030013 15.522912519 15.347444479 Calling exit ...