Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0007352/0.0007352, 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.0007279/0.0007279, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8549/0.8549, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08894/0.08894, allocations: 17.45 MB / 276.6 MB, free: 11.75 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.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 411.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.326e-05/3.521e-05, allocations: 2.281 kB / 411.6 MB, free: 12.47 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.02178/0.02182, allocations: 25.09 MB / 436.7 MB, free: 14.96 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006678/0.0285, allocations: 7.064 MB / 443.7 MB, free: 8.547 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005208/0.02902, allocations: 15.88 kB / 443.8 MB, free: 8.531 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005143/0.02953, allocations: 169.8 kB / 443.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.03101, allocations: 0.7286 MB / 444.6 MB, free: 7.781 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.03328, allocations: 1.066 MB / 445.7 MB, free: 6.902 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009951/0.03428, allocations: 0.976 MB / 446.7 MB, free: 6.016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004967/0.03477, allocations: 427.7 kB / 447.1 MB, free: 5.695 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005162/0.03529, allocations: 0.6333 MB / 447.7 MB, free: 5.176 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004868/0.03578, allocations: 405.8 kB / 448.1 MB, free: 4.875 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.65e-05/0.03586, allocations: 80 kB / 448.2 MB, free: 4.797 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001975/0.03784, allocations: 0.8249 MB / 449 MB, free: 4.059 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.03802, allocations: 202 kB / 449.2 MB, free: 3.895 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003042/0.03833, allocations: 300 kB / 449.5 MB, free: 3.633 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002884/0.04121, allocations: 1.911 MB / 451.4 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.04122, allocations: 11.88 kB / 451.5 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.04122, allocations: 0 / 451.5 MB, free: 2.078 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.04124, allocations: 0 / 451.5 MB, free: 2.078 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.00146/0.0427, allocations: 1.1 MB / 452.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.04274, allocations: 16.03 kB / 452.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.205e-05/0.04283, allocations: 110.7 kB / 452.7 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004001/0.04323, allocations: 152.1 kB / 452.8 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005099/0.04374, allocations: 433 kB / 453.2 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.362e-05/0.04382, allocations: 102 kB / 453.3 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.937e-05/0.0439, allocations: 76.25 kB / 453.4 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008095/0.04471, allocations: 0.7743 MB / 454.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.04472, allocations: 192 / 454.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.04477, allocations: 31.94 kB / 454.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.04478, allocations: 16 kB / 454.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008798/0.04566, allocations: 0.8679 MB / 455.1 MB, free: 14.32 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.002341/0.048, allocations: 2.081 MB / 457.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000882/0.04888, allocations: 0.8013 MB / 458 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.04915, allocations: 275.2 kB / 458.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001867/0.05102, allocations: 1.516 MB / 459.8 MB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.05104, allocations: 38.55 kB / 459.8 MB, free: 9.508 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 2.415e-06/0.05105, allocations: 0 / 459.8 MB, free: 9.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001572/0.05262, allocations: 1.17 MB / 461 MB, free: 8.305 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.05265, allocations: 63.33 kB / 461 MB, free: 8.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.05296, allocations: 429.7 kB / 461.5 MB, free: 7.797 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.05299, allocations: 33.7 kB / 461.5 MB, free: 7.758 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.05316, allocations: 380.1 kB / 461.9 MB, free: 7.383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.912e-05/0.05324, allocations: 166.6 kB / 462 MB, free: 7.219 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.05334, allocations: 130.5 kB / 462.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.05344, allocations: 362.8 kB / 462.5 MB, free: 6.723 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.05361, allocations: 145.9 kB / 462.7 MB, free: 6.582 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.05388, allocations: 392.4 kB / 463 MB, free: 6.098 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.05436, allocations: 0.5796 MB / 463.6 MB, free: 5.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.05436, allocations: 4 kB / 463.6 MB, free: 5.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0005985/0.05496, allocations: 0.6143 MB / 464.2 MB, free: 4.785 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.05498, allocations: 8 kB / 464.2 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.05499, allocations: 8 kB / 464.3 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.05501, allocations: 16 kB / 464.3 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.0554, allocations: 212.1 kB / 464.5 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.05541, allocations: 23.86 kB / 464.5 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.05557, allocations: 24 kB / 464.5 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.05561, allocations: 32 kB / 464.6 MB, free: 4.469 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.0001753/0.05578, allocations: 201.6 kB / 464.8 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.05584, allocations: 51.67 kB / 464.8 MB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005846/0.05643, allocations: 0.4988 MB / 465.3 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.05643, allocations: 8 kB / 465.3 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.05644, allocations: 3.938 kB / 465.3 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.05644, allocations: 7.984 kB / 465.3 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.05696, allocations: 0.5449 MB / 465.9 MB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.05696, allocations: 4 kB / 465.9 MB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.05726, allocations: 139.8 kB / 466 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.05727, allocations: 4 kB / 466 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.05729, allocations: 20.12 kB / 466 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.0573, allocations: 4 kB / 466 MB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.0573, allocations: 3.938 kB / 466 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00069/0.05799, allocations: 0.7206 MB / 466.8 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.05811, allocations: 83.67 kB / 466.8 MB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.05816, allocations: 15.98 kB / 466.9 MB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.05826, allocations: 12 kB / 466.9 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.05833, allocations: 40.38 kB / 466.9 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.05835, allocations: 16 kB / 466.9 MB, free: 1.992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002003/0.05855, allocations: 279.1 kB / 467.2 MB, free: 1.719 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.05855, allocations: 4 kB / 467.2 MB, free: 1.715 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007501/0.0593, allocations: 335.1 kB / 467.5 MB, free: 1.387 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.001521/0.06082, allocations: 1.612 MB / 469.1 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005244/0.06134, allocations: 419.4 kB / 469.5 MB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.06135, allocations: 0 / 469.5 MB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.06153, allocations: 186.7 kB / 469.7 MB, free: 15.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.06202, allocations: 130.8 kB / 469.9 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.06609, allocations: 4.737 MB / 474.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.06628, allocations: 292.1 kB / 474.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002828/0.06656, allocations: 120.5 kB / 475 MB, free: 9.539 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.0668, allocations: 248.4 kB / 475.2 MB, free: 9.297 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0668, allocations: 0 / 475.2 MB, free: 9.297 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.09461, allocations: 16.66 MB / 491.9 MB, free: 8.812 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.57/6.664, allocations: 14.56 kB / 491.9 MB, free: 8.801 MB / 394.7 MB " [Timeout remaining time 653] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_SimpleReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.601478046737611] Failed to read output from testmodel.py, exit status != 0: 6.8966553676873446 6.758857481 6.715752235 Calling exit ...