Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfAlcohol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008877/0.008877, allocations: 102 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 191.5 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08187/0.08187, allocations: 15.31 MB / 305.8 MB, free: 15.38 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 64.11 kB / 424.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1058, allocations: 53.62 MB / 478.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.005389/0.1112, allocations: 4.24 MB / 482.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009664/0.1209, allocations: 8.674 MB / 491.2 MB, free: 9.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004606/0.1214, allocations: 7.938 kB / 491.2 MB, free: 9.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005522/0.1219, allocations: 189.4 kB / 491.4 MB, free: 9.227 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.1239, allocations: 0.7884 MB / 492.2 MB, free: 8.434 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003249/0.1272, allocations: 1.01 MB / 493.2 MB, free: 7.418 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001406/0.1286, allocations: 0.8811 MB / 494.1 MB, free: 6.531 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005849/0.1292, allocations: 0.5039 MB / 494.6 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004299/0.1297, allocations: 446.8 kB / 495 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005694/0.1303, allocations: 482.3 kB / 495.5 MB, free: 5.109 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.1304, allocations: 76 kB / 495.6 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002816/0.1332, allocations: 0.8933 MB / 496.5 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.1334, allocations: 187.4 kB / 496.6 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003707/0.1338, allocations: 406.2 kB / 497 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002757/0.1365, allocations: 1.783 MB / 498.8 MB, free: 1.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1366, allocations: 4 kB / 498.8 MB, free: 1.766 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1366, allocations: 0 / 498.8 MB, free: 1.766 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1366, allocations: 3.938 kB / 498.8 MB, free: 1.762 MB / 366.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.001777/0.1384, allocations: 1.135 MB / 500 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1384, allocations: 12.03 kB / 500 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.1385, allocations: 114.7 kB / 0.4884 GB, free: 452 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005895/0.1391, allocations: 147.7 kB / 0.4885 GB, free: 304 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006753/0.1398, allocations: 471.5 kB / 0.4889 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.1399, allocations: 50.31 kB / 0.489 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.14, allocations: 68.38 kB / 0.4891 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.1411, allocations: 0.7627 MB / 0.4898 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1411, allocations: 0 / 0.4898 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.1412, allocations: 24 kB / 0.4898 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.1412, allocations: 16 kB / 0.4898 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.1426, allocations: 0.8784 MB / 0.4907 GB, free: 13.99 MB / 382.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.003408/0.146, allocations: 2.338 MB / 0.493 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.1476, allocations: 1.026 MB / 0.494 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00041/0.148, allocations: 295.8 kB / 0.4943 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003648/0.1517, allocations: 2.852 MB / 0.4971 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1517, allocations: 38.56 kB / 0.4971 GB, free: 6.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.924e-06/0.1517, allocations: 3.938 kB / 0.4971 GB, free: 6.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.0161/0.1678, allocations: 2.807 MB / 0.4998 GB, free: 4.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/0.168, allocations: 55.97 kB / 0.4999 GB, free: 3.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006514/0.1686, allocations: 405.7 kB / 0.5003 GB, free: 3.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.481e-05/0.1687, allocations: 37.7 kB / 0.5003 GB, free: 3.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.169, allocations: 367 kB / 0.5007 GB, free: 3.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.1692, allocations: 197.2 kB / 0.5009 GB, free: 2.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.1695, allocations: 146.6 kB / 0.501 GB, free: 2.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1696, allocations: 362.8 kB / 0.5013 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.17, allocations: 205.9 kB / 0.5015 GB, free: 2.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/0.1706, allocations: 462.1 kB / 0.502 GB, free: 1.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.1717, allocations: 0.7212 MB / 0.5027 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.1717, allocations: 0 / 0.5027 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.2464/0.4181, allocations: 1.142 MB / 0.5038 GB, free: 34.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.4182, allocations: 8.469 kB / 0.5038 GB, free: 34.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.4182, allocations: 8.672 kB / 0.5038 GB, free: 34.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003836/0.4221, allocations: 444.5 kB / 0.5042 GB, free: 34.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/0.4227, allocations: 161.7 kB / 0.5044 GB, free: 34.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007094/0.4298, allocations: 4.638 MB / 0.5089 GB, free: 31.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007352/0.4306, allocations: 26.16 kB / 0.5089 GB, free: 31.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.854e-05/0.4307, allocations: 45.12 kB / 0.509 GB, free: 31.09 MB / 382.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.0003246/0.431, allocations: 201.7 kB / 0.5092 GB, free: 30.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.4312, allocations: 55.64 kB / 0.5092 GB, free: 30.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005441/0.4366, allocations: 1.099 MB / 0.5103 GB, free: 30.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.4366, allocations: 5.812 kB / 0.5103 GB, free: 30.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4366, allocations: 2.281 kB / 0.5103 GB, free: 30.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.4367, allocations: 8.984 kB / 0.5103 GB, free: 30.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006399/0.4431, allocations: 1.809 MB / 0.5121 GB, free: 29.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.4431, allocations: 2.844 kB / 0.5121 GB, free: 29.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.4434, allocations: 90.69 kB / 0.5122 GB, free: 29.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004775/0.4482, allocations: 0.4966 MB / 0.5127 GB, free: 29.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.32e-05/0.4483, allocations: 25.03 kB / 0.5127 GB, free: 29.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007743/0.456, allocations: 5.97 MB / 0.5185 GB, free: 24.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.4561, allocations: 2.375 kB / 0.5185 GB, free: 24.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00626/0.4624, allocations: 1.403 MB / 0.5199 GB, free: 23.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.4626, allocations: 127.3 kB / 0.52 GB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/0.4627, allocations: 13.98 kB / 0.52 GB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.4631, allocations: 17.66 kB / 0.52 GB, free: 23.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/0.4633, allocations: 67.59 kB / 0.5201 GB, free: 23.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/0.4634, allocations: 25.86 kB / 0.5201 GB, free: 23.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003705/0.4637, allocations: 268.8 kB / 0.5204 GB, free: 23.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4637, allocations: 0 / 0.5204 GB, free: 23.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001618/0.4654, allocations: 399.9 kB / 0.5208 GB, free: 23.47 MB / 382.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.006953/0.4723, allocations: 2.303 MB / 0.523 GB, free: 22.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.474, allocations: 0.8962 MB / 0.5239 GB, free: 21.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4741, allocations: 7.906 kB / 0.5239 GB, free: 21.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.4752, allocations: 0.7312 MB / 0.5246 GB, free: 21.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008389/0.476, allocations: 147.1 kB / 0.5248 GB, free: 21.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/0.4904, allocations: 6.075 MB / 0.5307 GB, free: 17.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.4908, allocations: 0.8983 MB / 0.5316 GB, free: 16.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004682/0.4912, allocations: 127 kB / 0.5317 GB, free: 16.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.4916, allocations: 280.9 kB / 0.532 GB, free: 16.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4916, allocations: 0 / 0.532 GB, free: 16.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04534/0.5369, allocations: 21.64 MB / 0.5531 GB, free: 14.94 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.09, allocations: 10.62 kB / 0.5531 GB, free: 14.93 MB / 398.1 MB (rm -f Chemical_Chemical.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfAlcohol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_HeatingOfAlcohol_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_HeatingOfAlcohol.fmu > Chemical_Chemical.Examples.HeatingOfAlcohol.pipe 2>&1)