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.006157/0.006158, allocations: 97.86 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.001384/0.001384, allocations: 197.5 kB / 16.67 MB, free: 5.977 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.596/0.596, allocations: 15.32 MB / 305.9 MB, free: 15.3 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002416/0.002416, allocations: 67.91 kB / 424.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3498, allocations: 53.6 MB / 478.3 MB, free: 25.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.004741/0.3546, allocations: 4.25 MB / 482.5 MB, free: 22.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007651/0.3622, allocations: 8.677 MB / 491.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003724/0.3626, allocations: 9.969 kB / 491.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.3632, allocations: 190.3 kB / 491.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.3647, allocations: 0.7825 MB / 492.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.3667, allocations: 1.004 MB / 493.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007719/0.3674, allocations: 0.8799 MB / 494.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004876/0.3679, allocations: 0.5011 MB / 494.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003941/0.3683, allocations: 444.3 kB / 495 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005267/0.3689, allocations: 483.8 kB / 495.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.369, allocations: 77.62 kB / 495.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.3711, allocations: 0.8955 MB / 496.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.3713, allocations: 181.7 kB / 496.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003454/0.3717, allocations: 412.4 kB / 497 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.3739, allocations: 1.791 MB / 498.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3739, allocations: 0 / 498.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3739, allocations: 0 / 498.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.3739, allocations: 0 / 498.8 MB, free: 11.11 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.001611/0.3755, allocations: 1.177 MB / 0.4883 GB, free: 10.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3756, allocations: 9.156 kB / 0.4883 GB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.3757, allocations: 112.3 kB / 0.4884 GB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005575/0.3763, allocations: 149.8 kB / 0.4886 GB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005838/0.3768, allocations: 472.1 kB / 0.489 GB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/0.3769, allocations: 49.88 kB / 0.4891 GB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.377, allocations: 76.27 kB / 0.4891 GB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.3782, allocations: 0.7559 MB / 0.4899 GB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.3783, allocations: 1.344 kB / 0.4899 GB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.799e-05/0.3783, allocations: 25.44 kB / 0.4899 GB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.3784, allocations: 15.62 kB / 0.4899 GB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.3799, allocations: 0.8828 MB / 0.4908 GB, free: 8.715 MB / 366.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.003343/0.3832, allocations: 2.329 MB / 0.493 GB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.3848, allocations: 1.024 MB / 0.494 GB, free: 6.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003965/0.3852, allocations: 295.7 kB / 0.4943 GB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003051/0.3882, allocations: 2.855 MB / 0.4971 GB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.3883, allocations: 38.56 kB / 0.4971 GB, free: 3.191 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.903e-06/0.3883, allocations: 4 kB / 0.4972 GB, free: 3.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=56): time 0.01299/0.4013, allocations: 2.816 MB / 0.4999 GB, free: 296 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.4013, allocations: 55.97 kB / 0.5 GB, free: 228 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.4018, allocations: 405.9 kB / 0.5003 GB, free: 15.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.4018, allocations: 37.7 kB / 0.5004 GB, free: 15.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.4021, allocations: 380 kB / 0.5007 GB, free: 15.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.4023, allocations: 206.2 kB / 0.5009 GB, free: 15.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.4025, allocations: 146.6 kB / 0.5011 GB, free: 15.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.4027, allocations: 362.8 kB / 0.5014 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003721/0.4031, allocations: 205.9 kB / 0.5016 GB, free: 14.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005458/0.4036, allocations: 458.2 kB / 0.5021 GB, free: 13.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000998/0.4046, allocations: 0.7251 MB / 0.5028 GB, free: 13.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4046, allocations: 0 / 0.5028 GB, free: 13.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004256/0.4089, allocations: 1.144 MB / 0.5039 GB, free: 11.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.4089, allocations: 11.98 kB / 0.5039 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.409, allocations: 8.875 kB / 0.5039 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003326/0.4123, allocations: 445.2 kB / 0.5043 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.4128, allocations: 163.7 kB / 0.5045 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007477/0.4203, allocations: 4.637 MB / 0.509 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/0.4208, allocations: 24 kB / 0.509 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.87e-05/0.4209, allocations: 43.98 kB / 0.5091 GB, free: 6.32 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.0003228/0.4212, allocations: 211.3 kB / 0.5093 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.4213, allocations: 55.62 kB / 0.5093 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005027/0.4264, allocations: 1.104 MB / 0.5104 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.4264, allocations: 4 kB / 0.5104 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4264, allocations: 4 kB / 0.5104 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.4264, allocations: 3.938 kB / 0.5104 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005882/0.4323, allocations: 1.813 MB / 0.5122 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4323, allocations: 0 / 0.5122 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.4326, allocations: 91.89 kB / 0.5123 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004225/0.4369, allocations: 0.5177 MB / 0.5128 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/0.4369, allocations: 19.98 kB / 0.5128 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008259/0.4452, allocations: 5.962 MB / 0.5186 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.4452, allocations: 4 kB / 0.5186 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005273/0.4505, allocations: 1.405 MB / 0.52 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.4508, allocations: 128.7 kB / 0.5201 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.4509, allocations: 20.12 kB / 0.5201 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.4513, allocations: 15.98 kB / 0.5202 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.4514, allocations: 64.36 kB / 0.5202 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.4515, allocations: 24.06 kB / 0.5202 GB, free: 10.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003698/0.4519, allocations: 275.1 kB / 0.5205 GB, free: 9.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4519, allocations: 0 / 0.5205 GB, free: 9.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001572/0.4534, allocations: 403.1 kB / 0.5209 GB, free: 9.598 MB / 398.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.006873/0.4603, allocations: 2.304 MB / 0.5231 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001799/0.4622, allocations: 0.8969 MB / 0.524 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4622, allocations: 0 / 0.524 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.4634, allocations: 0.7339 MB / 0.5247 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009365/0.4644, allocations: 148.2 kB / 0.5249 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.4791, allocations: 6.104 MB / 0.5308 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006687/0.4798, allocations: 0.9029 MB / 0.5317 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004773/0.4803, allocations: 136.7 kB / 0.5318 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004472/0.4807, allocations: 275.2 kB / 0.5321 GB, free: 13.6 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4807, allocations: 0 / 0.5321 GB, free: 13.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5564/1.037, allocations: 21.63 MB / 0.5532 GB, free: 8.152 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/16.96, allocations: 7.812 kB / 0.5532 GB, free: 8.148 MB / 430.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)