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.004948/0.004948, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001194/0.001194, allocations: 187.4 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.296/1.296, 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.2035/0.2035, allocations: 15.32 MB / 305.9 MB, free: 15.29 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 55.91 kB / 424.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2538, allocations: 53.61 MB / 478.3 MB, free: 25.7 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.004533/0.2584, allocations: 4.236 MB / 482.5 MB, free: 22.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007479/0.2659, allocations: 8.682 MB / 491.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006145/0.2666, allocations: 14.19 kB / 491.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005191/0.2671, allocations: 185 kB / 491.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.2688, allocations: 0.784 MB / 492.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.2711, allocations: 1.004 MB / 493.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000937/0.2721, allocations: 0.8839 MB / 494.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004884/0.2726, allocations: 0.4931 MB / 494.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.273, allocations: 444 kB / 495 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004783/0.2734, allocations: 477.8 kB / 495.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.738e-05/0.2735, allocations: 81.25 kB / 495.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.2761, allocations: 0.9029 MB / 496.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.2763, allocations: 182.1 kB / 496.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.2766, allocations: 408.5 kB / 497 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.2793, allocations: 1.783 MB / 498.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2793, allocations: 0 / 498.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2793, allocations: 1.531 kB / 498.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.2793, allocations: 3.984 kB / 498.8 MB, free: 11.12 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.001668/0.281, allocations: 1.143 MB / 500 MB, free: 10.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.281, allocations: 9.625 kB / 500 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.962e-05/0.2811, allocations: 111.2 kB / 0.4884 GB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005792/0.2817, allocations: 158.2 kB / 0.4885 GB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006065/0.2824, allocations: 459.5 kB / 0.489 GB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.2824, allocations: 52.94 kB / 0.489 GB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.2825, allocations: 64.84 kB / 0.4891 GB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.2835, allocations: 0.7603 MB / 0.4898 GB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.2836, allocations: 0 / 0.4898 GB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.045e-05/0.2836, allocations: 29.3 kB / 0.4898 GB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.2836, allocations: 16.75 kB / 0.4899 GB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.2848, allocations: 0.8739 MB / 0.4907 GB, free: 8.777 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.002914/0.2877, allocations: 2.332 MB / 0.493 GB, free: 6.934 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.2892, allocations: 1.029 MB / 0.494 GB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.2896, allocations: 294.4 kB / 0.4943 GB, free: 6.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003003/0.2926, allocations: 2.848 MB / 0.4971 GB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.2926, allocations: 42.48 kB / 0.4971 GB, free: 3.238 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.623e-06/0.2926, allocations: 0 / 0.4971 GB, free: 3.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=56): time 0.01504/0.3077, allocations: 2.805 MB / 0.4998 GB, free: 360 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.3077, allocations: 55.97 kB / 0.4999 GB, free: 292 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.3081, allocations: 417.6 kB / 0.5003 GB, free: 15.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.3082, allocations: 41.7 kB / 0.5003 GB, free: 15.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.3084, allocations: 355.1 kB / 0.5007 GB, free: 15.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.3085, allocations: 197.2 kB / 0.5009 GB, free: 15.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.3087, allocations: 150.6 kB / 0.501 GB, free: 15.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3089, allocations: 358.7 kB / 0.5013 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.3092, allocations: 209.9 kB / 0.5015 GB, free: 14.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/0.3097, allocations: 462.2 kB / 0.502 GB, free: 14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008757/0.3106, allocations: 0.7212 MB / 0.5027 GB, free: 13.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3106, allocations: 0 / 0.5027 GB, free: 13.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004581/0.3152, allocations: 1.14 MB / 0.5038 GB, free: 12.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3152, allocations: 8 kB / 0.5038 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.3152, allocations: 8 kB / 0.5038 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003812/0.319, allocations: 453.8 kB / 0.5042 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004919/0.3195, allocations: 159.8 kB / 0.5044 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007305/0.3269, allocations: 4.632 MB / 0.5089 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006102/0.3275, allocations: 28 kB / 0.5089 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/0.3276, allocations: 43.98 kB / 0.509 GB, free: 6.398 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.0003032/0.3279, allocations: 213.5 kB / 0.5092 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.328, allocations: 51.34 kB / 0.5092 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005593/0.3336, allocations: 1.1 MB / 0.5103 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3336, allocations: 7.938 kB / 0.5103 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3337, allocations: 4 kB / 0.5103 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.3337, allocations: 7.922 kB / 0.5103 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006344/0.34, allocations: 1.809 MB / 0.5121 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.3401, allocations: 0 / 0.5121 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.3404, allocations: 95.83 kB / 0.5122 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004872/0.3453, allocations: 0.5022 MB / 0.5127 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.3454, allocations: 20 kB / 0.5127 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007979/0.3534, allocations: 5.961 MB / 0.5185 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.3534, allocations: 4 kB / 0.5185 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005736/0.3592, allocations: 1.408 MB / 0.5199 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.3594, allocations: 124.5 kB / 0.52 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.787e-05/0.3595, allocations: 12 kB / 0.52 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.3599, allocations: 16 kB / 0.5201 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.36, allocations: 60.42 kB / 0.5201 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/0.3601, allocations: 23.98 kB / 0.5201 GB, free: 10.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002909/0.3604, allocations: 267.2 kB / 0.5204 GB, free: 10.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3604, allocations: 4 kB / 0.5204 GB, free: 10.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001389/0.3618, allocations: 399.7 kB / 0.5208 GB, free: 9.707 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.006803/0.3686, allocations: 2.31 MB / 0.523 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.3702, allocations: 0.8893 MB / 0.5239 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3702, allocations: 0 / 0.5239 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.3713, allocations: 0.726 MB / 0.5246 GB, free: 5.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008935/0.3722, allocations: 156.2 kB / 0.5248 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.3857, allocations: 6.083 MB / 0.5307 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.3862, allocations: 0.899 MB / 0.5316 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004298/0.3866, allocations: 132.8 kB / 0.5317 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/0.387, allocations: 279.5 kB / 0.532 GB, free: 13.75 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.387, allocations: 4 kB / 0.532 GB, free: 13.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04639/0.4334, allocations: 22.01 MB / 0.5535 GB, free: 7.914 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.55, allocations: 8.062 kB / 0.5535 GB, free: 7.906 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)