Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0008423/0.0008423, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000963/0.000963, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9167/0.9167, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.09249/0.09249, allocations: 17.37 MB / 276.6 MB, free: 11.84 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 411.4 MB, free: 436 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.157e-05, allocations: 4.812 kB / 411.4 MB, free: 432 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.004835/0.004857, allocations: 3.902 MB / 415.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006557/0.01141, allocations: 7.704 MB / 423 MB, free: 4.758 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002703/0.01168, allocations: 19.88 kB / 423.1 MB, free: 4.738 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004467/0.01213, allocations: 162.6 kB / 423.2 MB, free: 4.578 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.01343, allocations: 0.8144 MB / 424 MB, free: 3.758 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.01523, allocations: 1.052 MB / 425.1 MB, free: 2.699 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006841/0.01591, allocations: 0.9158 MB / 426 MB, free: 1.777 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.01633, allocations: 412.7 kB / 426.4 MB, free: 1.371 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004498/0.01678, allocations: 0.6161 MB / 427 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005722/0.01735, allocations: 387.1 kB / 427.4 MB, free: 384 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.761e-05/0.01743, allocations: 76 kB / 427.5 MB, free: 308 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.01864, allocations: 0.8577 MB / 428.3 MB, free: 15.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.01876, allocations: 183.4 kB / 428.5 MB, free: 15.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.01894, allocations: 291.4 kB / 428.8 MB, free: 14.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.0205, allocations: 1.942 MB / 430.7 MB, free: 13.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.0205, allocations: 0 / 430.7 MB, free: 13.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.0205, allocations: 3.938 kB / 430.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.02051, allocations: 0 / 430.7 MB, free: 13.02 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.001168/0.02168, allocations: 1.097 MB / 431.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.02172, allocations: 8.031 kB / 431.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.268e-05/0.02181, allocations: 110.7 kB / 432 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000338/0.02215, allocations: 152.1 kB / 432.1 MB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.02266, allocations: 405.1 kB / 432.5 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.0227, allocations: 50.38 kB / 432.5 MB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/0.02277, allocations: 72.33 kB / 432.6 MB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007555/0.02353, allocations: 0.7475 MB / 433.4 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.02354, allocations: 4.125 kB / 433.4 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.02359, allocations: 36.12 kB / 433.4 MB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.0236, allocations: 16 kB / 433.4 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008673/0.02447, allocations: 0.8589 MB / 434.3 MB, free: 9.406 MB / 410.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.00236/0.02683, allocations: 1.855 MB / 436.1 MB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009233/0.02775, allocations: 0.8031 MB / 436.9 MB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.02802, allocations: 255.2 kB / 437.2 MB, free: 6.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001873/0.02989, allocations: 1.532 MB / 438.7 MB, free: 4.875 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.02991, allocations: 42.34 kB / 438.8 MB, free: 4.824 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.052e-06/0.02991, allocations: 0 / 438.8 MB, free: 4.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=56): time 0.006889/0.0368, allocations: 2.661 MB / 441.4 MB, free: 2.113 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.03684, allocations: 59.91 kB / 441.5 MB, free: 2.043 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004849/0.03732, allocations: 413.6 kB / 441.9 MB, free: 1.629 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.03735, allocations: 37.7 kB / 441.9 MB, free: 1.586 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.03751, allocations: 372.1 kB / 442.3 MB, free: 1.219 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.03762, allocations: 214.2 kB / 442.5 MB, free: 1.008 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.03775, allocations: 142.6 kB / 442.6 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.03786, allocations: 370.7 kB / 443 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.0381, allocations: 205.9 kB / 443.2 MB, free: 296 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1926/0.2307, allocations: 457.7 kB / 443.6 MB, free: 69.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007078/0.2314, allocations: 0.7124 MB / 444.4 MB, free: 69.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2314, allocations: 3.25 kB / 444.4 MB, free: 69.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00223/0.2336, allocations: 1.13 MB / 445.5 MB, free: 69.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.2337, allocations: 9.5 kB / 445.5 MB, free: 69.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.2337, allocations: 12.22 kB / 445.5 MB, free: 69.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/0.2352, allocations: 445.1 kB / 445.9 MB, free: 69.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.2355, allocations: 152.7 kB / 446.1 MB, free: 69.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003835/0.2393, allocations: 4.398 MB / 450.5 MB, free: 65.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.2396, allocations: 29.78 kB / 450.5 MB, free: 65.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.2397, allocations: 43 kB / 450.6 MB, free: 65.74 MB / 410.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.0002584/0.24, allocations: 205.2 kB / 450.8 MB, free: 65.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-05/0.24, allocations: 57.33 kB / 450.8 MB, free: 65.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.2424, allocations: 1.09 MB / 451.9 MB, free: 65.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2424, allocations: 10.06 kB / 451.9 MB, free: 65.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2424, allocations: 3.219 kB / 451.9 MB, free: 65.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.2424, allocations: 0 / 451.9 MB, free: 65.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/0.2453, allocations: 1.7 MB / 453.6 MB, free: 64.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2453, allocations: 0 / 453.6 MB, free: 64.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.2454, allocations: 94.98 kB / 453.7 MB, free: 64.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/0.2473, allocations: 0.5022 MB / 454.2 MB, free: 64.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.2473, allocations: 25.02 kB / 454.2 MB, free: 64.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003883/0.2512, allocations: 5.577 MB / 459.8 MB, free: 59.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.2512, allocations: 3.094 kB / 459.8 MB, free: 59.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.2537, allocations: 1.404 MB / 461.2 MB, free: 58.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.2538, allocations: 46.3 kB / 461.3 MB, free: 58.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.2538, allocations: 14.72 kB / 461.3 MB, free: 58.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.254, allocations: 21.84 kB / 461.3 MB, free: 58.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/0.2541, allocations: 64.06 kB / 461.4 MB, free: 58.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.2541, allocations: 30.03 kB / 461.4 MB, free: 58.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001843/0.2543, allocations: 265.2 kB / 461.7 MB, free: 58.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2543, allocations: 0 / 461.7 MB, free: 58.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009626/0.2552, allocations: 404.9 kB / 462.1 MB, free: 58.65 MB / 410.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.003131/0.2584, allocations: 2.318 MB / 464.4 MB, free: 57.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00086/0.2592, allocations: 0.86 MB / 465.2 MB, free: 56.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2592, allocations: 0 / 465.2 MB, free: 56.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004927/0.2597, allocations: 0.703 MB / 465.9 MB, free: 56.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.2602, allocations: 145.7 kB / 466.1 MB, free: 56.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006697/0.2669, allocations: 6.035 MB / 472.1 MB, free: 52.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.2671, allocations: 294 kB / 472.4 MB, free: 52.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002704/0.2674, allocations: 133.8 kB / 472.5 MB, free: 52.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.2676, allocations: 270.7 kB / 472.8 MB, free: 52.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2676, allocations: 0 / 472.8 MB, free: 52.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04814/0.3157, allocations: 23.4 MB / 496.2 MB, free: 47.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.994/9.309, allocations: 10.17 kB / 496.2 MB, free: 47.51 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol.fmu > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.21580581087619] Failed to read output from testmodel.py, exit status != 0: 9.408017242327332 9.415202094 9.393267538 Calling exit ...