Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction.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.0008581/0.0008581, 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.0009282/0.0009282, allocations: 165.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.9329/0.9329, 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 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.09265/0.09265, allocations: 17.37 MB / 276.6 MB, free: 11.86 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.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 411.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.501e-05, allocations: 2.281 kB / 411.4 MB, free: 13.24 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.SimpleReaction): time 0.02709/0.02711, allocations: 25.09 MB / 436.5 MB, free: 15.47 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007749/0.03486, allocations: 7.072 MB / 443.6 MB, free: 9.043 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007043/0.03557, allocations: 11.88 kB / 443.6 MB, free: 9.031 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005964/0.03616, allocations: 174.1 kB / 443.8 MB, free: 8.902 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.0382, allocations: 0.7248 MB / 444.5 MB, free: 8.281 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.04116, allocations: 1.074 MB / 445.6 MB, free: 7.395 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.04258, allocations: 0.9719 MB / 446.5 MB, free: 6.512 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006035/0.04319, allocations: 428.8 kB / 447 MB, free: 6.191 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006674/0.04385, allocations: 0.625 MB / 447.6 MB, free: 5.68 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005969/0.04445, allocations: 405.8 kB / 448 MB, free: 5.379 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.04456, allocations: 80 kB / 448.1 MB, free: 5.301 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/0.04767, allocations: 0.8323 MB / 448.9 MB, free: 4.555 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.0479, allocations: 194 kB / 449.1 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003719/0.04827, allocations: 300.5 kB / 449.4 MB, free: 4.137 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003851/0.05212, allocations: 1.926 MB / 451.3 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.05212, allocations: 0 / 451.3 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.05213, allocations: 0 / 451.3 MB, free: 2.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.05215, allocations: 0 / 451.3 MB, free: 2.555 MB / 346.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.0017/0.05385, allocations: 1.1 MB / 452.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.0539, allocations: 8.031 kB / 452.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.054, allocations: 106.7 kB / 452.5 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004317/0.05443, allocations: 156.3 kB / 452.7 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.05498, allocations: 429 kB / 453.1 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.547e-05/0.05508, allocations: 106 kB / 453.2 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.084e-05/0.05516, allocations: 68.38 kB / 453.2 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008927/0.05605, allocations: 0.7781 MB / 454 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.05607, allocations: 192 / 454 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.05611, allocations: 27.94 kB / 454.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.05613, allocations: 20 kB / 454.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009301/0.05706, allocations: 0.8718 MB / 454.9 MB, free: 14.81 MB / 362.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.002879/0.05994, allocations: 2.073 MB / 457 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009615/0.0609, allocations: 0.8165 MB / 457.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.06118, allocations: 279.2 kB / 458.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002195/0.06337, allocations: 1.508 MB / 459.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.0634, allocations: 42.55 kB / 459.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 2.716e-06/0.0634, allocations: 4 kB / 459.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001758/0.06516, allocations: 1.163 MB / 460.8 MB, free: 8.785 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.0652, allocations: 67.28 kB / 460.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.06554, allocations: 425.7 kB / 461.3 MB, free: 8.277 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.06557, allocations: 33.7 kB / 461.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.06574, allocations: 380.1 kB / 461.7 MB, free: 7.863 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.06584, allocations: 162.6 kB / 461.9 MB, free: 7.703 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.06596, allocations: 130.6 kB / 462 MB, free: 7.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.06607, allocations: 358.8 kB / 462.3 MB, free: 7.211 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.06625, allocations: 149.9 kB / 462.5 MB, free: 7.066 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.06653, allocations: 388.4 kB / 462.9 MB, free: 6.586 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/0.06705, allocations: 0.5797 MB / 463.5 MB, free: 5.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.06705, allocations: 4 kB / 463.5 MB, free: 5.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006538/0.06771, allocations: 0.6108 MB / 464.1 MB, free: 5.277 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.06774, allocations: 8 kB / 464.1 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.06775, allocations: 11.98 kB / 464.1 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.06778, allocations: 16.03 kB / 464.1 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/0.06818, allocations: 203.7 kB / 464.3 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.06819, allocations: 23.91 kB / 464.3 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.06838, allocations: 24 kB / 464.3 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.06842, allocations: 39.98 kB / 464.4 MB, free: 4.957 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002014/0.06862, allocations: 205.6 kB / 464.6 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.06867, allocations: 55.61 kB / 464.6 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006063/0.06928, allocations: 0.4988 MB / 465.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.06928, allocations: 8 kB / 465.1 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.06929, allocations: 3.938 kB / 465.2 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.0693, allocations: 0 / 465.2 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005496/0.06985, allocations: 0.5488 MB / 465.7 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.06985, allocations: 4 kB / 465.7 MB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.07015, allocations: 140 kB / 465.8 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.07015, allocations: 4 kB / 465.8 MB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.07017, allocations: 16 kB / 465.9 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.07018, allocations: 4 kB / 465.9 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.07018, allocations: 7.922 kB / 465.9 MB, free: 3.391 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006799/0.07086, allocations: 0.7206 MB / 466.6 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.07099, allocations: 87.66 kB / 466.7 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.07103, allocations: 12 kB / 466.7 MB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.07113, allocations: 12 kB / 466.7 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.0712, allocations: 44.38 kB / 466.7 MB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.07122, allocations: 20 kB / 466.8 MB, free: 2.469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001958/0.07141, allocations: 275.1 kB / 467 MB, free: 2.199 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07141, allocations: 0 / 467 MB, free: 2.199 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008166/0.07223, allocations: 335.1 kB / 467.4 MB, free: 1.871 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001578/0.07381, allocations: 1.613 MB / 469 MB, free: 228 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005747/0.07438, allocations: 415.8 kB / 469.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.07438, allocations: 0 / 469.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.07457, allocations: 186.7 kB / 469.6 MB, free: 15.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.07511, allocations: 136 kB / 469.7 MB, free: 15.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/0.07973, allocations: 4.745 MB / 474.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.07996, allocations: 288.1 kB / 474.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003022/0.08026, allocations: 120.5 kB / 474.8 MB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.08052, allocations: 256.4 kB / 475.1 MB, free: 9.773 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.08052, allocations: 0 / 475.1 MB, free: 9.773 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/0.1145, allocations: 16.65 MB / 491.7 MB, free: 9.301 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.231/7.345, allocations: 14.56 kB / 491.8 MB, free: 9.293 MB / 394.7 MB " [Timeout remaining time 652] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.SimpleReaction_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-07 Chemical_Chemical_Obsolete_Examples_SimpleReaction.fmu > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.47600934188813] Failed to read output from testmodel.py, exit status != 0: 7.59498839173466 7.442134333 7.387820073 Calling exit ...