Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005616/0.0005616, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007008/0.0007008, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8277/0.8277, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08148/0.08148, allocations: 17.46 MB / 276.6 MB, free: 11.76 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 411.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.051e-05, allocations: 4.312 kB / 411.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.003326/0.003347, allocations: 3.907 MB / 415.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005369/0.008716, allocations: 7.714 MB / 423.2 MB, free: 5.008 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.008928, allocations: 9.844 kB / 423.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.009293, allocations: 165.4 kB / 423.4 MB, free: 4.918 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.01035, allocations: 0.8112 MB / 424.2 MB, free: 4.418 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.01159, allocations: 1.041 MB / 425.2 MB, free: 3.797 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005944/0.01218, allocations: 0.928 MB / 426.1 MB, free: 3.309 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.01252, allocations: 420.9 kB / 426.6 MB, free: 3.121 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004235/0.01294, allocations: 0.6075 MB / 427.2 MB, free: 2.898 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003869/0.01333, allocations: 385.1 kB / 427.5 MB, free: 2.797 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.722e-05/0.01341, allocations: 80.97 kB / 427.6 MB, free: 2.793 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.01445, allocations: 0.8611 MB / 428.5 MB, free: 2.605 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.01456, allocations: 189.6 kB / 428.7 MB, free: 2.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.01475, allocations: 298.6 kB / 429 MB, free: 2.355 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.01628, allocations: 1.938 MB / 430.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.01628, allocations: 5.688 kB / 430.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01628, allocations: 0 / 430.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.0163, allocations: 0 / 430.9 MB, free: 1.535 MB / 330.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.00113/0.01743, allocations: 1.084 MB / 432 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.01746, allocations: 9.25 kB / 432 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.927e-05/0.01754, allocations: 110.3 kB / 432.1 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000338/0.01788, allocations: 151.8 kB / 432.3 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.01832, allocations: 406.5 kB / 432.6 MB, free: 424 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.01835, allocations: 53.53 kB / 432.7 MB, free: 396 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.703e-05/0.01844, allocations: 69.38 kB / 432.8 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007586/0.0192, allocations: 0.7535 MB / 433.5 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.01921, allocations: 192 / 433.5 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.01925, allocations: 29.88 kB / 433.6 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.01926, allocations: 21.19 kB / 433.6 MB, free: 28 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009819/0.02025, allocations: 0.8712 MB / 434.4 MB, free: 15.76 MB / 346.7 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.002179/0.02242, allocations: 1.842 MB / 436.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009713/0.0234, allocations: 0.8093 MB / 437.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.02366, allocations: 250.6 kB / 437.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001917/0.02557, allocations: 1.538 MB / 438.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.02559, allocations: 40.28 kB / 438.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 1.142e-06/0.02559, allocations: 0 / 438.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=56): time 0.00678/0.03237, allocations: 2.653 MB / 441.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.03241, allocations: 58.31 kB / 441.6 MB, free: 11.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.03269, allocations: 421.4 kB / 442 MB, free: 11.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.03272, allocations: 41.7 kB / 442.1 MB, free: 11.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.03287, allocations: 360.2 kB / 442.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.03297, allocations: 206.2 kB / 442.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.0331, allocations: 150.6 kB / 442.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.03325, allocations: 362.7 kB / 443.1 MB, free: 9.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.03348, allocations: 209.9 kB / 443.3 MB, free: 9.773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.0338, allocations: 465.9 kB / 443.8 MB, free: 9.211 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006052/0.03441, allocations: 0.716 MB / 444.5 MB, free: 8.379 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.03441, allocations: 4.875 kB / 444.5 MB, free: 8.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002271/0.03668, allocations: 1.134 MB / 445.6 MB, free: 7.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.03671, allocations: 8.969 kB / 445.7 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.03672, allocations: 11.98 kB / 445.7 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/0.03832, allocations: 445.2 kB / 446.1 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.03863, allocations: 159.7 kB / 446.3 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00462/0.04325, allocations: 4.406 MB / 450.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/0.04366, allocations: 24 kB / 450.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.04372, allocations: 43.98 kB / 450.7 MB, free: 1.914 MB / 346.7 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.0002511/0.04397, allocations: 205 kB / 450.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/0.04404, allocations: 59.61 kB / 451 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.04651, allocations: 1.088 MB / 452.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.04651, allocations: 4 kB / 452.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.04652, allocations: 12 kB / 452.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.04653, allocations: 3.984 kB / 452.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/0.04943, allocations: 1.69 MB / 453.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.04944, allocations: 7.938 kB / 453.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.0496, allocations: 87.89 kB / 453.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/0.05147, allocations: 0.506 MB / 454.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.0515, allocations: 23.98 kB / 454.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004422/0.05592, allocations: 5.581 MB / 460 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.05592, allocations: 3.984 kB / 460 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002556/0.05848, allocations: 1.407 MB / 461.4 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.05855, allocations: 47.62 kB / 461.4 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.05859, allocations: 20.03 kB / 461.5 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.05876, allocations: 16 kB / 461.5 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.05885, allocations: 64.27 kB / 461.5 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.05888, allocations: 28.19 kB / 461.6 MB, free: 6.562 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002071/0.05909, allocations: 267.1 kB / 461.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05909, allocations: 3.938 kB / 461.8 MB, free: 6.297 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001094/0.06018, allocations: 403.1 kB / 462.2 MB, free: 5.902 MB / 362.7 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.003417/0.0636, allocations: 2.31 MB / 464.5 MB, free: 3.531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009622/0.06456, allocations: 0.8694 MB / 465.4 MB, free: 2.641 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.06457, allocations: 0 / 465.4 MB, free: 2.641 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005827/0.06515, allocations: 0.6944 MB / 466.1 MB, free: 1.906 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.06564, allocations: 146 kB / 466.2 MB, free: 1.766 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007345/0.07298, allocations: 6.034 MB / 472.3 MB, free: 11.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.07319, allocations: 297.7 kB / 472.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.07347, allocations: 128.8 kB / 472.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.07372, allocations: 275.7 kB / 473 MB, free: 10.66 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.07372, allocations: 0 / 473 MB, free: 10.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03479/0.1085, allocations: 23.4 MB / 496.4 MB, free: 3.523 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/7.789, allocations: 12 kB / 496.4 MB, free: 3.512 MB / 394.7 MB " [Timeout remaining time 652] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol.fmu > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.556862556375563] Failed to read output from testmodel.py, exit status != 0: 8.021525079384446 7.896506089 7.878498084 Calling exit ...