Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.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.0008146/0.0008146, 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.0007576/0.0007576, 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.847/0.847, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.08033/0.08033, allocations: 17.44 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.ExothermicReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ExothermicReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 411.6 MB, free: 264 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.274e-05, allocations: 7.062 kB / 411.6 MB, free: 256 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.005738/0.005761, allocations: 7.56 MB / 419.2 MB, free: 8.656 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.02014, allocations: 20.51 MB / 439.7 MB, free: 4.066 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.02115, allocations: 27.81 kB / 439.7 MB, free: 4.039 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009769/0.02213, allocations: 480 kB / 440.2 MB, free: 3.566 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003774/0.0259, allocations: 2.113 MB / 442.3 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1483/0.1742, allocations: 3.143 MB / 445.4 MB, free: 44.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001964/0.1762, allocations: 2.591 MB / 448 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009385/0.1771, allocations: 1.139 MB / 449.2 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.1782, allocations: 1.714 MB / 450.9 MB, free: 43.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008571/0.1791, allocations: 1.107 MB / 452 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.1792, allocations: 216.4 kB / 452.2 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00467/0.1839, allocations: 2.494 MB / 454.7 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.1842, allocations: 0.5139 MB / 455.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005009/0.1847, allocations: 0.7952 MB / 456 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005955/0.1906, allocations: 5.496 MB / 461.5 MB, free: 41.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1906, allocations: 0 / 461.5 MB, free: 41.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1906, allocations: 0 / 461.5 MB, free: 41.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.1906, allocations: 0 / 461.5 MB, free: 41.99 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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.002347/0.193, allocations: 2.633 MB / 464.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.193, allocations: 13.25 kB / 464.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001663/0.1932, allocations: 248.4 kB / 464.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008528/0.1941, allocations: 419.6 kB / 464.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009224/0.195, allocations: 0.9141 MB / 465.7 MB, free: 39.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.1951, allocations: 247.3 kB / 465.9 MB, free: 39.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.1952, allocations: 186.6 kB / 466.1 MB, free: 39.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.197, allocations: 2.085 MB / 468.2 MB, free: 38.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.1971, allocations: 384 / 468.2 MB, free: 38.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.1972, allocations: 75.66 kB / 468.3 MB, free: 38.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.1972, allocations: 44.38 kB / 468.3 MB, free: 38.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/0.1994, allocations: 2.555 MB / 470.9 MB, free: 37.86 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.005075/0.2045, allocations: 5.34 MB / 476.2 MB, free: 35.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/0.2071, allocations: 2.159 MB / 478.4 MB, free: 34.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007125/0.2078, allocations: 0.7406 MB / 479.1 MB, free: 34.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004911/0.2127, allocations: 4.198 MB / 483.3 MB, free: 32.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.2127, allocations: 49.25 kB / 483.4 MB, free: 32.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 2.445e-06/0.2127, allocations: 0 / 483.4 MB, free: 32.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.01263/0.2254, allocations: 5.832 MB / 489.2 MB, free: 30.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.2254, allocations: 93.47 kB / 489.3 MB, free: 30 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009002/0.2263, allocations: 0.9813 MB / 490.3 MB, free: 29.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.815e-05/0.2264, allocations: 51.14 kB / 490.3 MB, free: 29.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.2267, allocations: 0.8506 MB / 491.2 MB, free: 28.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.2269, allocations: 0.5344 MB / 491.7 MB, free: 28.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003309/0.2273, allocations: 369.1 kB / 492.1 MB, free: 28.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.588e-05/0.2273, allocations: 305.5 kB / 492.4 MB, free: 27.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006318/0.2279, allocations: 0.5317 MB / 492.9 MB, free: 27.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008408/0.2287, allocations: 1.248 MB / 494.1 MB, free: 26.64 MB / 410.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start (fixedTemperature.T = solution_at_constant_temperature.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.2304, allocations: 1.972 MB / 496.1 MB, free: 25.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.2304, allocations: 6.875 kB / 496.1 MB, free: 25.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00425/0.2347, allocations: 2.531 MB / 498.7 MB, free: 24.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.2347, allocations: 12.91 kB / 498.7 MB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.2347, allocations: 29.34 kB / 498.7 MB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/0.2372, allocations: 0.7019 MB / 499.4 MB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.2382, allocations: 0.5234 MB / 499.9 MB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005893/0.2441, allocations: 7.767 MB / 0.4958 GB, free: 17.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009756/0.245, allocations: 76.03 kB / 0.4959 GB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.2451, allocations: 111.7 kB / 0.496 GB, free: 17.63 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (241): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,6,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005204/0.2457, allocations: 386.5 kB / 0.4963 GB, free: 17.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.2458, allocations: 151.1 kB / 0.4965 GB, free: 17.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004337/0.2502, allocations: 2.477 MB / 0.4989 GB, free: 16.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.2502, allocations: 19.34 kB / 0.4989 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.2502, allocations: 0.8906 kB / 0.4989 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.2502, allocations: 9.25 kB / 0.4989 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/0.253, allocations: 2.304 MB / 0.5012 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.253, allocations: 1.844 kB / 0.5012 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/0.2537, allocations: 324.1 kB / 0.5015 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002696/0.2564, allocations: 0.7443 MB / 0.5022 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/0.2565, allocations: 40.27 kB / 0.5023 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005149/0.2616, allocations: 8.886 MB / 0.5109 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.2616, allocations: 7.375 kB / 0.5109 GB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004014/0.2656, allocations: 2.804 MB / 0.5137 GB, free: 3.152 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.2658, allocations: 132.5 kB / 0.5138 GB, free: 3.027 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.2659, allocations: 28 kB / 0.5138 GB, free: 3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.2663, allocations: 33.78 kB / 0.5139 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.2665, allocations: 128.6 kB / 0.514 GB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.2665, allocations: 53.86 kB / 0.514 GB, free: 2.859 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004544/0.267, allocations: 0.6327 MB / 0.5147 GB, free: 2.316 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.267, allocations: 0 / 0.5147 GB, free: 2.316 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00232/0.2693, allocations: 1.067 MB / 0.5157 GB, free: 1.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (A1.logn,B1.logn,H2O.logn,A.logn,B.logn,H2O1.amountOfBonds,H2O1.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 (137): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006815/0.2761, allocations: 4.533 MB / 0.5201 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002526/0.2787, allocations: 1.984 MB / 0.5221 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2787, allocations: 0 / 0.5221 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.2799, allocations: 1.299 MB / 0.5233 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.281, allocations: 325.7 kB / 0.5236 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/0.2972, allocations: 13.51 MB / 0.5368 GB, free: 12.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.2977, allocations: 0.688 MB / 0.5375 GB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000782/0.2985, allocations: 331.8 kB / 0.5378 GB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006469/0.2991, allocations: 0.715 MB / 0.5385 GB, free: 10.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2991, allocations: 0 / 0.5385 GB, free: 10.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06391/0.363, allocations: 53.97 MB / 0.5912 GB, free: 4.836 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.649/9.012, allocations: 11.44 kB / 0.5912 GB, free: 4.828 MB / 490.7 MB " [Timeout remaining time 651] (rm -f Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.717490928247571] Failed to read output from testmodel.py, exit status != 0: 9.126145425252616 9.134338558 8.941822073 Calling exit ...