Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.000723/0.000723, 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.00089/0.00089, 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.9573/0.9573, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.09487/0.09487, allocations: 17.38 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.ExothermicReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ExothermicReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 411.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.632e-05, allocations: 4.984 kB / 411.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.005782/0.005809, allocations: 7.575 MB / 419 MB, free: 8.336 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0183/0.02411, allocations: 20.5 MB / 439.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.02538, allocations: 31 kB / 439.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.02643, allocations: 492.1 kB / 440 MB, free: 10.08 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004215/0.03064, allocations: 2.108 MB / 442.1 MB, free: 8.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00685/0.03749, allocations: 3.149 MB / 445.3 MB, free: 6.074 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002424/0.03992, allocations: 2.593 MB / 447.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009459/0.04086, allocations: 1.145 MB / 449 MB, free: 3.625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.04222, allocations: 1.718 MB / 450.7 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.04329, allocations: 1.105 MB / 451.8 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001969/0.04348, allocations: 216 kB / 452.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005182/0.04867, allocations: 2.487 MB / 454.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000331/0.049, allocations: 0.5217 MB / 455.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005486/0.04955, allocations: 0.7951 MB / 455.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00543/0.05498, allocations: 5.488 MB / 461.3 MB, free: 8.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.05498, allocations: 0 / 461.3 MB, free: 8.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.05498, allocations: 0 / 461.3 MB, free: 8.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.055, allocations: 0 / 461.3 MB, free: 8.18 MB / 362.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.002824/0.05782, allocations: 2.627 MB / 464 MB, free: 5.508 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.05787, allocations: 16.02 kB / 464 MB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002234/0.05809, allocations: 253.7 kB / 464.2 MB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009939/0.05908, allocations: 430.9 kB / 464.7 MB, free: 4.812 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.06028, allocations: 0.8974 MB / 465.6 MB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.06045, allocations: 258.9 kB / 465.8 MB, free: 3.613 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.06065, allocations: 180.3 kB / 466 MB, free: 3.438 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.06286, allocations: 2.082 MB / 468.1 MB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.06289, allocations: 192 / 468.1 MB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.06301, allocations: 75.94 kB / 468.1 MB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.06303, allocations: 44 kB / 468.2 MB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002704/0.06574, allocations: 2.553 MB / 470.7 MB, free: 14.65 MB / 378.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.006048/0.07178, allocations: 5.362 MB / 476.1 MB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00273/0.07451, allocations: 2.14 MB / 478.2 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007797/0.07529, allocations: 0.7416 MB / 479 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005219/0.08051, allocations: 4.207 MB / 483.2 MB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.08054, allocations: 43.56 kB / 483.2 MB, free: 1.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 1.924e-06/0.08054, allocations: 0 / 483.2 MB, free: 1.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.01321/0.09376, allocations: 5.827 MB / 489.1 MB, free: 12.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.09381, allocations: 98.36 kB / 489.2 MB, free: 11.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008476/0.09466, allocations: 0.98 MB / 490.1 MB, free: 10.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.113e-05/0.09472, allocations: 49.7 kB / 490.2 MB, free: 10.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.09512, allocations: 0.8551 MB / 491 MB, free: 10.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000288/0.0954, allocations: 0.5345 MB / 491.6 MB, free: 9.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003237/0.09573, allocations: 367.5 kB / 491.9 MB, free: 9.141 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.0958, allocations: 301.1 kB / 492.2 MB, free: 8.844 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006268/0.09643, allocations: 0.5311 MB / 492.8 MB, free: 8.309 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009354/0.09737, allocations: 1.247 MB / 494 MB, free: 6.727 MB / 394.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.001796/0.09916, allocations: 1.973 MB / 496 MB, free: 4.422 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.09917, allocations: 4 kB / 496 MB, free: 4.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.004095/0.1033, allocations: 2.542 MB / 498.5 MB, free: 1.855 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.1033, allocations: 16 kB / 498.5 MB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.1033, allocations: 24 kB / 498.6 MB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/0.1057, allocations: 0.698 MB / 499.3 MB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.1067, allocations: 0.5188 MB / 499.8 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007357/0.1141, allocations: 7.791 MB / 0.4957 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008334/0.1149, allocations: 72.03 kB / 0.4957 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.1151, allocations: 111.9 kB / 0.4958 GB, free: 8.164 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.000651/0.1157, allocations: 381.3 kB / 0.4962 GB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.1159, allocations: 151.1 kB / 0.4964 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004493/0.1204, allocations: 2.478 MB / 0.4988 GB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.1204, allocations: 12 kB / 0.4988 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1204, allocations: 4 kB / 0.4988 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.1204, allocations: 7.969 kB / 0.4988 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/0.1236, allocations: 2.302 MB / 0.501 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.1236, allocations: 0 / 0.501 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007221/0.1243, allocations: 312 kB / 0.5013 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002753/0.1271, allocations: 0.7416 MB / 0.5021 GB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/0.1271, allocations: 43.98 kB / 0.5021 GB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007131/0.1342, allocations: 8.885 MB / 0.5108 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.1343, allocations: 8 kB / 0.5108 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00463/0.1389, allocations: 2.804 MB / 0.5135 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.1391, allocations: 139 kB / 0.5137 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.1392, allocations: 28 kB / 0.5137 GB, free: 5.086 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.1396, allocations: 36 kB / 0.5137 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.1398, allocations: 132.9 kB / 0.5139 GB, free: 4.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/0.1399, allocations: 52.17 kB / 0.5139 GB, free: 4.871 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006089/0.1405, allocations: 0.6303 MB / 0.5145 GB, free: 4.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1405, allocations: 3.938 kB / 0.5145 GB, free: 4.227 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002602/0.1431, allocations: 1.064 MB / 0.5156 GB, free: 3.16 MB / 426.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.00678/0.1499, allocations: 4.421 MB / 0.5199 GB, free: 14.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002648/0.1525, allocations: 1.983 MB / 0.5218 GB, free: 12.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1525, allocations: 0 / 0.5218 GB, free: 12.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.1537, allocations: 1.298 MB / 0.5231 GB, free: 11.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.1548, allocations: 325.3 kB / 0.5234 GB, free: 10.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/0.172, allocations: 13.51 MB / 0.5366 GB, free: 12.51 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/0.1727, allocations: 0.684 MB / 0.5373 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009321/0.1736, allocations: 331.8 kB / 0.5376 GB, free: 11.46 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006416/0.1742, allocations: 0.7267 MB / 0.5383 GB, free: 10.73 MB / 458.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1742, allocations: 0 / 0.5383 GB, free: 10.73 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2455/0.4197, allocations: 53.95 MB / 0.591 GB, free: 149.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.242/9.662, allocations: 12.64 kB / 0.591 GB, free: 149.7 MB / 490.7 MB " [Timeout remaining time 650] (rm -f Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ExothermicReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_ExothermicReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_ExothermicReaction.fmu > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.783267161808908] Failed to read output from testmodel.py, exit status != 0: 9.966442715376616 9.790010864 9.732710601 Calling exit ...