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.001335/0.001335, allocations: 101.3 kB / 16.45 MB, free: 6.5 MB / 14.72 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.00134/0.00134, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 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 1.415/1.415, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] 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.1542/0.1542, allocations: 23.88 MB / 332.7 MB, free: 12.32 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002983/0.002983, allocations: 71.89 kB / 466 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4089, allocations: 59.83 MB / 0.5135 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.007842/0.4168, allocations: 8.641 MB / 0.522 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03257/0.4493, allocations: 23.37 MB / 0.5448 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/0.4514, allocations: 29.91 kB / 0.5448 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.4535, allocations: 0.5156 MB / 0.5453 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009099/0.4626, allocations: 2.026 MB / 0.5473 GB, free: 264 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01221/0.4748, allocations: 3.026 MB / 0.5503 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005181/0.48, allocations: 2.507 MB / 0.5527 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.4823, allocations: 1.167 MB / 0.5539 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.4848, allocations: 1.244 MB / 0.5551 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003116/0.4879, allocations: 1.373 MB / 0.5564 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008999/0.4888, allocations: 219.7 kB / 0.5566 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01172/0.5005, allocations: 2.635 MB / 0.5592 GB, free: 9.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.5015, allocations: 0.5029 MB / 0.5597 GB, free: 9.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002663/0.5042, allocations: 1.094 MB / 0.5608 GB, free: 8.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01503/0.5192, allocations: 5.192 MB / 0.5658 GB, free: 5.402 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.5192, allocations: 0 / 0.5658 GB, free: 5.402 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5192, allocations: 1.5 kB / 0.5658 GB, free: 5.402 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001308/0.5194, allocations: 0 / 0.5658 GB, free: 5.402 MB / 414.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.007694/0.5271, allocations: 2.731 MB / 0.5685 GB, free: 2.668 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.5271, allocations: 8.031 kB / 0.5685 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005781/0.5277, allocations: 253.7 kB / 0.5687 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002176/0.5299, allocations: 430.9 kB / 0.5692 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.532, allocations: 0.9716 MB / 0.5701 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/0.5322, allocations: 191.5 kB / 0.5703 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004595/0.5327, allocations: 184.3 kB / 0.5705 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003717/0.5364, allocations: 2.09 MB / 0.5725 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.5364, allocations: 4 kB / 0.5725 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001819/0.5366, allocations: 72 kB / 0.5726 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.5366, allocations: 40 kB / 0.5726 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004109/0.5407, allocations: 2.581 MB / 0.5751 GB, free: 11.77 MB / 430.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.01078/0.5515, allocations: 6.363 MB / 0.5813 GB, free: 5.184 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005168/0.5567, allocations: 2.408 MB / 0.5837 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.558, allocations: 0.7497 MB / 0.5844 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01336/0.5713, allocations: 8.088 MB / 0.5923 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.5714, allocations: 51.67 kB / 0.5924 GB, free: 8.875 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.256e-06/0.5714, allocations: 3.938 kB / 0.5924 GB, free: 8.871 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.0291/0.6005, allocations: 6.198 MB / 0.5984 GB, free: 2.512 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.6006, allocations: 94.42 kB / 0.5985 GB, free: 2.402 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.6021, allocations: 0.9414 MB / 0.5994 GB, free: 1.445 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001698/0.6023, allocations: 49.7 kB / 0.5995 GB, free: 1.391 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006855/0.6029, allocations: 0.8628 MB / 0.6003 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006445/0.6036, allocations: 0.5423 MB / 0.6009 GB, free: 15.97 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006665/0.6043, allocations: 375.4 kB / 0.6012 GB, free: 15.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6044, allocations: 309.1 kB / 0.6015 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.6055, allocations: 0.5233 MB / 0.602 GB, free: 14.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.6073, allocations: 1.243 MB / 0.6032 GB, free: 13.17 MB / 462.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.003388/0.6107, allocations: 2.052 MB / 0.6052 GB, free: 10.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.568e-05/0.6107, allocations: 8 kB / 0.6053 GB, free: 10.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008775/0.6195, allocations: 2.542 MB / 0.6077 GB, free: 8.199 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.6195, allocations: 16 kB / 0.6078 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.424e-05/0.6196, allocations: 24 kB / 0.6078 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005739/0.6253, allocations: 0.694 MB / 0.6085 GB, free: 7.453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/0.6276, allocations: 0.5266 MB / 0.609 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/0.6408, allocations: 8.276 MB / 0.617 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.6425, allocations: 71.98 kB / 0.6171 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003757/0.6429, allocations: 116 kB / 0.6172 GB, free: 13.9 MB / 478.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.0009585/0.6439, allocations: 383.8 kB / 0.6176 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004798/0.6443, allocations: 151.1 kB / 0.6177 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009634/0.654, allocations: 2.452 MB / 0.6201 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/0.654, allocations: 16 kB / 0.6201 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.654, allocations: 7.938 kB / 0.6202 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.698e-05/0.654, allocations: 7.969 kB / 0.6202 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006557/0.6606, allocations: 2.542 MB / 0.6226 GB, free: 8.195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/0.6606, allocations: 8 kB / 0.6227 GB, free: 8.188 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.6622, allocations: 311.9 kB / 0.623 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00676/0.669, allocations: 0.7455 MB / 0.6237 GB, free: 7.121 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/0.6691, allocations: 48 kB / 0.6237 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/0.6831, allocations: 9.496 MB / 0.633 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.6831, allocations: 11.88 kB / 0.633 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009864/0.693, allocations: 2.808 MB / 0.6358 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000584/0.6935, allocations: 208.1 kB / 0.6359 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004379/0.694, allocations: 36 kB / 0.636 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.6951, allocations: 28 kB / 0.636 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003864/0.6955, allocations: 124.9 kB / 0.6361 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/0.6956, allocations: 51.98 kB / 0.6362 GB, free: 9.535 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001116/0.6967, allocations: 0.6381 MB / 0.6368 GB, free: 8.891 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6967, allocations: 0 / 0.6368 GB, free: 8.891 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004206/0.7009, allocations: 1.064 MB / 0.6378 GB, free: 7.824 MB / 494.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.01311/0.714, allocations: 4.381 MB / 0.6421 GB, free: 3.363 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004369/0.7184, allocations: 1.986 MB / 0.6441 GB, free: 1.332 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.7184, allocations: 4 kB / 0.6441 GB, free: 1.328 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002443/0.7208, allocations: 1.301 MB / 0.6453 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.723, allocations: 331.7 kB / 0.6457 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03188/0.7549, allocations: 13.59 MB / 0.6589 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.7562, allocations: 1.268 MB / 0.6602 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001365/0.7576, allocations: 335.7 kB / 0.6605 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.7587, allocations: 0.7217 MB / 0.6612 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/0.7587, allocations: 4 kB / 0.6612 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1524/0.9111, allocations: 51.54 MB / 0.7115 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/16.37, allocations: 3.938 kB / 0.7115 GB, free: 11.58 MB / 0.5606 GB " [Timeout remaining time 643] (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 sys.exit(0), Time elapsed: 19.438900302164257] Failed to read output from testmodel.py, exit status != 0: 16.510324246948585 16.755203789 16.008551045 Calling exit ...