Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.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.001888/0.001888, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001602/0.001602, allocations: 212.9 kB / 22.25 MB, free: 5.242 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.805 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.1553/0.1553, allocations: 23.99 MB / 336.4 MB, free: 10.86 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.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",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.002298/0.002298, allocations: 63.89 kB / 471.3 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3396, allocations: 59.88 MB / 0.5187 GB, free: 9.512 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638:65: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:12638:6-12638:65: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.CheckSubstancesData.SimpleReaction2): time 0.06798/0.4076, allocations: 24.19 MB / 0.5423 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.4195, allocations: 8.07 MB / 0.5502 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006947/0.4202, allocations: 11.88 kB / 0.5502 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008139/0.421, allocations: 208 kB / 0.5504 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.4221, allocations: 358.3 kB / 0.5508 GB, free: 7.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004106/0.4262, allocations: 1.439 MB / 0.5522 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.4273, allocations: 0.6669 MB / 0.5528 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.4277, allocations: 193.2 kB / 0.553 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003765/0.4281, allocations: 327.3 kB / 0.5533 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004998/0.4286, allocations: 333 kB / 0.5536 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.176e-05/0.4286, allocations: 36 kB / 0.5537 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.4317, allocations: 0.7858 MB / 0.5544 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.4319, allocations: 120.2 kB / 0.5546 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.4322, allocations: 215.7 kB / 0.5548 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003179/0.4354, allocations: 1.525 MB / 0.5563 GB, free: 2.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4354, allocations: 0 / 0.5563 GB, free: 2.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4354, allocations: 0 / 0.5563 GB, free: 2.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.4354, allocations: 0 / 0.5563 GB, free: 2.406 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001488/0.4369, allocations: 0.8827 MB / 0.5571 GB, free: 1.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.4369, allocations: 12.03 kB / 0.5571 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.54e-05/0.437, allocations: 62.34 kB / 0.5572 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007861/0.4378, allocations: 166.8 kB / 0.5573 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007789/0.4386, allocations: 401.9 kB / 0.5577 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.4386, allocations: 21.73 kB / 0.5578 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.831e-05/0.4387, allocations: 35.94 kB / 0.5578 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009034/0.4396, allocations: 0.5256 MB / 0.5583 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4396, allocations: 0 / 0.5583 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.4397, allocations: 16.8 kB / 0.5583 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.4397, allocations: 8 kB / 0.5583 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.441, allocations: 0.8001 MB / 0.5591 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.4438, allocations: 1.787 MB / 0.5608 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.4442, allocations: 197.7 kB / 0.561 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.4444, allocations: 122.4 kB / 0.5612 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002934/0.4474, allocations: 1.288 MB / 0.5624 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.4474, allocations: 43.22 kB / 0.5625 GB, free: 12.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.023e-06/0.4474, allocations: 0 / 0.5625 GB, free: 12.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006689/0.4481, allocations: 294.1 kB / 0.5627 GB, free: 12.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.4481, allocations: 52.02 kB / 0.5628 GB, free: 12.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000649/0.4488, allocations: 493.4 kB / 0.5633 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.4488, allocations: 29.7 kB / 0.5633 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.4491, allocations: 305.2 kB / 0.5636 GB, free: 11.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.003e-05/0.4491, allocations: 63.47 kB / 0.5636 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.4493, allocations: 98.03 kB / 0.5637 GB, free: 11.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.4495, allocations: 362.7 kB / 0.5641 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.4496, allocations: 92.77 kB / 0.5642 GB, free: 10.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.45, allocations: 361.1 kB / 0.5645 GB, free: 10.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006616/0.4507, allocations: 0.4925 MB / 0.565 GB, free: 9.836 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4507, allocations: 4 kB / 0.565 GB, free: 9.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007729/0.4515, allocations: 485.5 kB / 0.5655 GB, free: 9.352 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.4515, allocations: 8 kB / 0.5655 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.4515, allocations: 16.12 kB / 0.5655 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.4515, allocations: 12 kB / 0.5655 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.4519, allocations: 119.8 kB / 0.5656 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/0.4519, allocations: 19.92 kB / 0.5656 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.4522, allocations: 63.45 kB / 0.5657 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/0.4522, allocations: 32 kB / 0.5657 GB, free: 9.086 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0001996/0.4524, allocations: 173.6 kB / 0.5659 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.003e-05/0.4525, allocations: 51.67 kB / 0.5659 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007667/0.4533, allocations: 399.8 kB / 0.5663 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4533, allocations: 8 kB / 0.5663 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4533, allocations: 0 / 0.5663 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.4533, allocations: 3.938 kB / 0.5663 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000958/0.4542, allocations: 0.6578 MB / 0.567 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4542, allocations: 7.875 kB / 0.567 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.88e-05/0.4543, allocations: 15.98 kB / 0.567 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4543, allocations: 0 / 0.567 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.4543, allocations: 4 kB / 0.567 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4543, allocations: 4.188 kB / 0.567 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4543, allocations: 7.938 kB / 0.567 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.4546, allocations: 193.1 kB / 0.5672 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.4547, allocations: 63.53 kB / 0.5672 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.4548, allocations: 8.078 kB / 0.5673 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.4549, allocations: 8 kB / 0.5673 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.455, allocations: 11.92 kB / 0.5673 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.455, allocations: 0 / 0.5673 GB, free: 7.332 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005197/0.4555, allocations: 418.8 kB / 0.5677 GB, free: 6.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4555, allocations: 0 / 0.5677 GB, free: 6.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008055/0.4563, allocations: 255.1 kB / 0.5679 GB, free: 6.676 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (6): * Single equations (assignments): 6 * 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.001199/0.4575, allocations: 1.037 MB / 0.5689 GB, free: 5.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004305/0.4579, allocations: 216.1 kB / 0.5691 GB, free: 5.379 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4579, allocations: 2 kB / 0.5691 GB, free: 5.379 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.873e-05/0.458, allocations: 39.86 kB / 0.5692 GB, free: 5.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006021/0.4586, allocations: 117.6 kB / 0.5693 GB, free: 5.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005144/0.4637, allocations: 4.144 MB / 0.5733 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.4639, allocations: 207.8 kB / 0.5735 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004049/0.4643, allocations: 136.1 kB / 0.5737 GB, free: 364 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.4646, allocations: 175.4 kB / 0.5738 GB, free: 188 kB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4646, allocations: 0 / 0.5738 GB, free: 188 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05779/0.5224, allocations: 14.4 MB / 0.5879 GB, free: 1.938 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.24, allocations: 11.8 kB / 0.5879 GB, free: 1.926 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.027314343024045] Failed to read output from testmodel.py, exit status != 0: 12.35976760322228 12.38697515 11.94663116 Calling exit ...