Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.ExothermicReaction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09899/0.09899, allocations: 15.54 MB / 318.2 MB, free: 13.55 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.ExothermicReaction,fileNamePrefix="Chemical_Chemical_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.ExothermicReaction,fileNamePrefix="Chemical_Chemical_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 59.89 kB / 444.9 MB, free: 120 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.278, allocations: 56.57 MB / 0.4897 GB, free: 20.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.ExothermicReaction): time 0.008232/0.2862, allocations: 8.6 MB / 0.4981 GB, free: 13.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02502/0.3112, allocations: 23.31 MB / 0.5209 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/0.3137, allocations: 23.88 kB / 0.5209 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.3159, allocations: 0.5244 MB / 0.5214 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008898/0.3248, allocations: 2.021 MB / 0.5234 GB, free: 5.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01057/0.3354, allocations: 3.025 MB / 0.5263 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005008/0.3404, allocations: 2.507 MB / 0.5288 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00218/0.3426, allocations: 1.161 MB / 0.5299 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00234/0.3449, allocations: 1.227 MB / 0.5311 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003062/0.348, allocations: 1.37 MB / 0.5325 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006029/0.3486, allocations: 216 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01034/0.3589, allocations: 2.636 MB / 0.5352 GB, free: 9.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009287/0.3598, allocations: 0.514 MB / 0.5357 GB, free: 8.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.3615, allocations: 1.085 MB / 0.5368 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01376/0.3752, allocations: 5.05 MB / 0.5417 GB, free: 2.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.3752, allocations: 0 / 0.5417 GB, free: 2.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3752, allocations: 0 / 0.5417 GB, free: 2.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.85e-05/0.3753, allocations: 3.984 kB / 0.5417 GB, free: 2.375 MB / 398.1 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.006209/0.3815, allocations: 2.726 MB / 0.5444 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.273e-05/0.3816, allocations: 8.031 kB / 0.5444 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003483/0.3819, allocations: 249.7 kB / 0.5447 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/0.3839, allocations: 434.9 kB / 0.5451 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.386, allocations: 0.9637 MB / 0.546 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.3862, allocations: 191.5 kB / 0.5462 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/0.3866, allocations: 196.2 kB / 0.5464 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003783/0.3903, allocations: 2.082 MB / 0.5484 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.155e-05/0.3904, allocations: 7.938 kB / 0.5484 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.3906, allocations: 76 kB / 0.5485 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-05/0.3906, allocations: 40 kB / 0.5485 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004433/0.395, allocations: 2.577 MB / 0.551 GB, free: 8.688 MB / 414.1 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.01302/0.4081, allocations: 6.359 MB / 0.5573 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005818/0.4139, allocations: 2.393 MB / 0.5596 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.4154, allocations: 0.7496 MB / 0.5603 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0139/0.4293, allocations: 8.073 MB / 0.5682 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.4294, allocations: 47.67 kB / 0.5683 GB, free: 5.836 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.867e-06/0.4294, allocations: 4 kB / 0.5683 GB, free: 5.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.03085/0.4602, allocations: 6.215 MB / 0.5743 GB, free: 15.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.455e-05/0.4603, allocations: 98.36 kB / 0.5744 GB, free: 15.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.4621, allocations: 0.9452 MB / 0.5753 GB, free: 14.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002746/0.4624, allocations: 53.7 kB / 0.5754 GB, free: 14.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007831/0.4632, allocations: 0.8512 MB / 0.5762 GB, free: 13.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008159/0.464, allocations: 0.5423 MB / 0.5768 GB, free: 12.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008236/0.4648, allocations: 379.4 kB / 0.5771 GB, free: 12.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.465, allocations: 301.1 kB / 0.5774 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.4661, allocations: 0.5233 MB / 0.5779 GB, free: 11.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/0.468, allocations: 1.243 MB / 0.5791 GB, free: 10.11 MB / 446.1 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.003451/0.4715, allocations: 2.044 MB / 0.5811 GB, free: 7.723 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.33e-05/0.4715, allocations: 12 kB / 0.5811 GB, free: 7.711 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009384/0.4809, allocations: 2.538 MB / 0.5836 GB, free: 5.152 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.95e-05/0.4809, allocations: 16 kB / 0.5836 GB, free: 5.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.475e-05/0.481, allocations: 24 kB / 0.5837 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005908/0.4869, allocations: 0.7057 MB / 0.5843 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/0.4892, allocations: 0.5227 MB / 0.5849 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01453/0.5038, allocations: 8.268 MB / 0.5929 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.5059, allocations: 72.03 kB / 0.593 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004373/0.5064, allocations: 108 kB / 0.5931 GB, free: 10.88 MB / 462.1 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.001094/0.5075, allocations: 381.1 kB / 0.5935 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004792/0.5079, allocations: 151 kB / 0.5936 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009838/0.5178, allocations: 2.472 MB / 0.596 GB, free: 7.812 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.5178, allocations: 16 kB / 0.596 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.849e-05/0.5178, allocations: 7.938 kB / 0.596 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.061e-05/0.5178, allocations: 7.969 kB / 0.5961 GB, free: 7.781 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006671/0.5245, allocations: 2.515 MB / 0.5985 GB, free: 5.172 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/0.5245, allocations: 4 kB / 0.5985 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/0.5261, allocations: 312 kB / 0.5988 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006999/0.5331, allocations: 0.7532 MB / 0.5995 GB, free: 4.094 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000285/0.5334, allocations: 39.98 kB / 0.5996 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2846/0.8179, allocations: 9.493 MB / 0.6089 GB, free: 95.28 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.8179, allocations: 10.89 kB / 0.6089 GB, free: 95.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/0.8286, allocations: 2.808 MB / 0.6116 GB, free: 94.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.829, allocations: 210 kB / 0.6118 GB, free: 94.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.8293, allocations: 30.02 kB / 0.6118 GB, free: 94.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008259/0.8301, allocations: 33.48 kB / 0.6119 GB, free: 94.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003574/0.8305, allocations: 129.4 kB / 0.612 GB, free: 94.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/0.8306, allocations: 49.61 kB / 0.612 GB, free: 94.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009178/0.8315, allocations: 0.6362 MB / 0.6127 GB, free: 93.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8315, allocations: 0 / 0.6127 GB, free: 93.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003453/0.8349, allocations: 1.067 MB / 0.6137 GB, free: 93.73 MB / 462.1 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.01164/0.8466, allocations: 4.359 MB / 0.618 GB, free: 91.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003574/0.8502, allocations: 1.995 MB / 0.6199 GB, free: 91.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.8502, allocations: 3.938 kB / 0.6199 GB, free: 91.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001935/0.8521, allocations: 1.297 MB / 0.6212 GB, free: 90.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.8539, allocations: 323.1 kB / 0.6215 GB, free: 90.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0266/0.8805, allocations: 13.6 MB / 0.6348 GB, free: 82.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006733/0.8812, allocations: 1.264 MB / 0.636 GB, free: 81.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001146/0.8823, allocations: 333.9 kB / 0.6363 GB, free: 80.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007133/0.883, allocations: 0.7179 MB / 0.637 GB, free: 80.21 MB / 462.1 MB Notification: Performance of SimCode: time 1.422e-06/0.883, allocations: 0 / 0.637 GB, free: 80.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1404/1.023, allocations: 51 MB / 0.6868 GB, free: 29.49 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.24/17.26, allocations: 7.922 kB / 0.6868 GB, free: 29.48 MB / 462.1 MB " [Timeout remaining time 643] (rm -f Chemical_Chemical.Examples.ExothermicReaction.pipe ; mkfifo Chemical_Chemical.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ExothermicReaction.pipe >> ../files/Chemical_Chemical.Examples.ExothermicReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_ExothermicReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_ExothermicReaction.fmu > Chemical_Chemical.Examples.ExothermicReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.198852624744177] Failed to read output from testmodel.py, exit status != 0: 17.395322179421782 17.406846986 17.029161672 Calling exit ...