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.001069/0.001069, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 196 kB / 16.53 MB, free: 6.672 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.152/1.152, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1635/0.1635, allocations: 15.33 MB / 305.7 MB, free: 15.28 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 55.91 kB / 370.4 MB, free: 3.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07926/0.08041, allocations: 53.61 MB / 424 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.004771/0.08521, allocations: 4.237 MB / 428.3 MB, free: 9.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008379/0.09361, allocations: 8.674 MB / 437 MB, free: 1.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003338/0.09396, allocations: 7.938 kB / 437 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004971/0.09447, allocations: 182.9 kB / 437.1 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.09609, allocations: 0.7953 MB / 437.9 MB, free: 248 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.134/0.2301, allocations: 0.9861 MB / 438.9 MB, free: 42.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008639/0.231, allocations: 0.8773 MB / 439.8 MB, free: 42.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004879/0.2315, allocations: 0.4993 MB / 440.3 MB, free: 42.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004049/0.232, allocations: 444.6 kB / 440.7 MB, free: 42.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004981/0.2325, allocations: 483.6 kB / 441.2 MB, free: 42.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.2326, allocations: 77.56 kB / 441.3 MB, free: 42.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.2345, allocations: 0.8943 MB / 442.2 MB, free: 42.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.2346, allocations: 184.5 kB / 442.4 MB, free: 42.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002644/0.2349, allocations: 407.9 kB / 442.8 MB, free: 42.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.2365, allocations: 1.765 MB / 444.5 MB, free: 42.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2365, allocations: 0 / 444.5 MB, free: 42.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2365, allocations: 0 / 444.5 MB, free: 42.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.2366, allocations: 0 / 444.5 MB, free: 42.31 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.001358/0.2379, allocations: 1.154 MB / 445.7 MB, free: 41.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.238, allocations: 9.719 kB / 445.7 MB, free: 41.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.967e-05/0.238, allocations: 107.7 kB / 445.8 MB, free: 41.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005101/0.2386, allocations: 144.8 kB / 445.9 MB, free: 41.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.239, allocations: 453.4 kB / 446.4 MB, free: 41.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.239, allocations: 57.64 kB / 446.4 MB, free: 41.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/0.2391, allocations: 71.66 kB / 446.5 MB, free: 41.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008331/0.2399, allocations: 0.7564 MB / 447.3 MB, free: 41.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.24, allocations: 3.562 kB / 447.3 MB, free: 41.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/0.24, allocations: 28.97 kB / 447.3 MB, free: 41.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.24, allocations: 16.25 kB / 447.3 MB, free: 41.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009729/0.241, allocations: 0.867 MB / 448.2 MB, free: 41.24 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.002479/0.2435, allocations: 2.359 MB / 450.5 MB, free: 40.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.2447, allocations: 1.03 MB / 451.6 MB, free: 40.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.245, allocations: 291.8 kB / 451.8 MB, free: 40.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002556/0.2476, allocations: 2.856 MB / 454.7 MB, free: 37.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.282e-05/0.2476, allocations: 41.41 kB / 454.7 MB, free: 37.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.703e-06/0.2476, allocations: 7.984 kB / 454.7 MB, free: 37.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=56): time 0.01278/0.2604, allocations: 2.803 MB / 457.5 MB, free: 36.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/0.2604, allocations: 55 kB / 457.6 MB, free: 36.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.2607, allocations: 404.6 kB / 458 MB, free: 36.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.2607, allocations: 40.39 kB / 458 MB, free: 36.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.2609, allocations: 366.1 kB / 458.4 MB, free: 36.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.593e-05/0.2609, allocations: 194.1 kB / 458.6 MB, free: 36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.2611, allocations: 144.9 kB / 458.7 MB, free: 35.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.2612, allocations: 367.3 kB / 459.1 MB, free: 35.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.2614, allocations: 204.3 kB / 459.3 MB, free: 35.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.2618, allocations: 469.2 kB / 459.7 MB, free: 35.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006548/0.2624, allocations: 0.7174 MB / 460.5 MB, free: 34.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2624, allocations: 3.125 kB / 460.5 MB, free: 34.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003692/0.2661, allocations: 1.146 MB / 461.6 MB, free: 34.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2662, allocations: 9 kB / 461.6 MB, free: 34.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2662, allocations: 9.031 kB / 461.6 MB, free: 34.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003128/0.2693, allocations: 444 kB / 462.1 MB, free: 34.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.2697, allocations: 156 kB / 462.2 MB, free: 34.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005528/0.2752, allocations: 4.644 MB / 466.9 MB, free: 30.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.2756, allocations: 24.81 kB / 466.9 MB, free: 30.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.2757, allocations: 45.05 kB / 466.9 MB, free: 30.3 MB / 366.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.0001824/0.2759, allocations: 212.2 kB / 467.1 MB, free: 30.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/0.276, allocations: 51.78 kB / 467.2 MB, free: 30.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004657/0.2806, allocations: 1.099 MB / 468.3 MB, free: 29.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2806, allocations: 5.688 kB / 468.3 MB, free: 29.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2807, allocations: 3.438 kB / 468.3 MB, free: 29.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2807, allocations: 7.234 kB / 468.3 MB, free: 29.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005064/0.2857, allocations: 1.811 MB / 470.1 MB, free: 28.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2858, allocations: 2.344 kB / 470.1 MB, free: 28.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.286, allocations: 97.41 kB / 470.2 MB, free: 28.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004053/0.2901, allocations: 0.5058 MB / 470.7 MB, free: 28.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.2902, allocations: 21.42 kB / 470.7 MB, free: 28.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006006/0.2962, allocations: 5.968 MB / 476.7 MB, free: 23.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2962, allocations: 2.469 kB / 476.7 MB, free: 23.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004807/0.301, allocations: 1.407 MB / 478.1 MB, free: 22.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.796e-05/0.3011, allocations: 128.7 kB / 478.2 MB, free: 22.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.847e-05/0.3012, allocations: 16.5 kB / 478.3 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/0.3015, allocations: 15.56 kB / 478.3 MB, free: 22.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3016, allocations: 58.05 kB / 478.3 MB, free: 22.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.3016, allocations: 29.34 kB / 478.4 MB, free: 22.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.3019, allocations: 271.3 kB / 478.6 MB, free: 22.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3019, allocations: 1.312 kB / 478.6 MB, free: 22.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001098/0.303, allocations: 395 kB / 479 MB, free: 22.5 MB / 366.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.005592/0.3086, allocations: 2.3 MB / 481.3 MB, free: 21.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.31, allocations: 0.9163 MB / 482.2 MB, free: 20.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.31, allocations: 1.562 kB / 482.2 MB, free: 20.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008866/0.3109, allocations: 0.7318 MB / 483 MB, free: 20.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006893/0.3116, allocations: 152.6 kB / 483.1 MB, free: 20.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.3227, allocations: 6.188 MB / 489.3 MB, free: 16.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.323, allocations: 0.8947 MB / 490.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004743/0.3235, allocations: 127.8 kB / 490.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.3238, allocations: 277.8 kB / 490.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3238, allocations: 4 kB / 490.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04102/0.3648, allocations: 21.38 MB / 0.5 GB, free: 2.297 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.69, allocations: 8.062 kB / 0.5 GB, free: 2.289 MB / 366.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)