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/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/Chemical 1.4.0-master/package.mo): time 0.103/0.103, allocations: 15.26 MB / 27.82 MB, free: 5.395 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 184.5 kB / 32.7 MB, free: 0.5156 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 221.4 MB / 258.8 MB, free: 15.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008976/0.0008977, allocations: 105.2 kB / 314 MB, free: 15.74 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.65e-05, allocations: 0 / 376.6 MB, free: 1.332 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.321, allocations: 54.61 MB / 431.2 MB, free: 50.08 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.4473, allocations: 99.75 MB / 0.5185 GB, free: 15.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.4476, allocations: 66.47 kB / 0.5186 GB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06606/0.5136, allocations: 25.5 MB / 0.5435 GB, free: 6.039 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.5137, allocations: 0 / 0.5435 GB, free: 6.039 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.521e-05/0.5137, allocations: 12 kB / 0.5435 GB, free: 6.027 MB / 410.7 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.001987/0.5157, allocations: 0.9433 MB / 0.5444 GB, free: 5.035 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.5158, allocations: 16.03 kB / 0.5444 GB, free: 5.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/0.516, allocations: 110.5 kB / 0.5445 GB, free: 4.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006321/0.5166, allocations: 166.8 kB / 0.5447 GB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008485/0.5175, allocations: 0.4978 MB / 0.5452 GB, free: 4.207 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.5175, allocations: 53.94 kB / 0.5452 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.5177, allocations: 71.91 kB / 0.5453 GB, free: 4.082 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.5191, allocations: 1.063 MB / 0.5463 GB, free: 3.008 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.5192, allocations: 4 kB / 0.5463 GB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.5192, allocations: 24 kB / 0.5463 GB, free: 2.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.5193, allocations: 16 kB / 0.5464 GB, free: 2.965 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.521, allocations: 1.436 MB / 0.5478 GB, free: 1.527 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004433/0.5255, allocations: 3.068 MB / 0.5508 GB, free: 14.33 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.5272, allocations: 1.37 MB / 0.5521 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005711/0.5278, allocations: 0.4911 MB / 0.5526 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/0.5281, allocations: 164.2 kB / 0.5527 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.5281, allocations: 43.06 kB / 0.5528 GB, free: 12.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=69): time 2.695e-06/0.5281, allocations: 0 / 0.5528 GB, free: 12.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=100): time 0.02191/0.5501, allocations: 5.227 MB / 0.5579 GB, free: 6.918 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006376/0.5565, allocations: 2.688 MB / 0.5605 GB, free: 4.066 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004387/0.5569, allocations: 355.5 kB / 0.5608 GB, free: 3.719 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.5571, allocations: 41.7 kB / 0.5609 GB, free: 3.672 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.5573, allocations: 288.6 kB / 0.5612 GB, free: 3.383 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.5576, allocations: 342.9 kB / 0.5615 GB, free: 3.043 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.5576, allocations: 20 kB / 0.5615 GB, free: 3.023 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5578, allocations: 374.7 kB / 0.5619 GB, free: 2.648 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008191/0.5586, allocations: 0.6033 MB / 0.5624 GB, free: 2.043 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008584/0.5595, allocations: 0.7362 MB / 0.5632 GB, free: 1.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008812/0.5604, allocations: 0.6647 MB / 0.5638 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5604, allocations: 0 / 0.5638 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.006089/0.5665, allocations: 2.029 MB / 0.5658 GB, free: 14.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.5665, allocations: 8 kB / 0.5658 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.5665, allocations: 4 kB / 0.5658 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004392/0.5709, allocations: 0.6321 MB / 0.5664 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008032/0.5718, allocations: 184.5 kB / 0.5666 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008073/0.5799, allocations: 5.34 MB / 0.5718 GB, free: 8.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.5809, allocations: 87.73 kB / 0.5719 GB, free: 8.004 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.581, allocations: 47.95 kB / 0.5719 GB, free: 7.957 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 2 {1 4,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001958/0.5812, allocations: 154.5 kB / 0.5721 GB, free: 7.801 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.5814, allocations: 63.31 kB / 0.5722 GB, free: 7.738 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00745/0.5888, allocations: 2.131 MB / 0.5742 GB, free: 5.594 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006919/0.5958, allocations: 1.949 MB / 0.5761 GB, free: 3.629 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.5958, allocations: 0 / 0.5761 GB, free: 3.629 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.5958, allocations: 3.984 kB / 0.5761 GB, free: 3.625 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2441/0.8399, allocations: 4.457 MB / 0.5805 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.84, allocations: 6 kB / 0.5805 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006065/0.8406, allocations: 154.2 kB / 0.5806 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005975/0.8466, allocations: 0.7992 MB / 0.5814 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/0.8468, allocations: 30.28 kB / 0.5815 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008501/0.8553, allocations: 5.564 MB / 0.5869 GB, free: 111.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005672/0.861, allocations: 2.3 MB / 0.5891 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008776/0.8698, allocations: 3.341 MB / 0.5924 GB, free: 109 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.8701, allocations: 156.1 kB / 0.5925 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.792e-05/0.8703, allocations: 29.48 kB / 0.5926 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006768/0.8709, allocations: 63.12 kB / 0.5926 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/0.8712, allocations: 112.2 kB / 0.5927 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-05/0.8713, allocations: 38.92 kB / 0.5928 GB, free: 108.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003159/0.8716, allocations: 282.2 kB / 0.593 GB, free: 108.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.8716, allocations: 2.031 kB / 0.593 GB, free: 108.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001809/0.8735, allocations: 0.5331 MB / 0.5936 GB, free: 108.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 3 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 2 {1 4,4 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.009728/0.8832, allocations: 6.361 MB / 0.5998 GB, free: 105.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002645/0.8859, allocations: 1.693 MB / 0.6014 GB, free: 105 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.8859, allocations: 1.656 kB / 0.6014 GB, free: 105 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.8876, allocations: 1.081 MB / 0.6025 GB, free: 104.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.8887, allocations: 151.5 kB / 0.6026 GB, free: 104.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.8922, allocations: 1.836 MB / 0.6044 GB, free: 104 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.8928, allocations: 0.9611 MB / 0.6054 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006147/0.8934, allocations: 124.1 kB / 0.6055 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/0.8938, allocations: 273 kB / 0.6057 GB, free: 103.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/0.8938, allocations: 0 / 0.6057 GB, free: 103.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04659/0.9404, allocations: 26.85 MB / 0.632 GB, free: 98.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001331/0.9406, allocations: 162.4 kB / 0.6321 GB, free: 98.47 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.965/3.905, allocations: 3.938 kB / 0.6321 GB, free: 98.46 MB / 442.7 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/linux/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)