Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001377/0.001377, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001597/0.001597, allocations: 211 kB / 22.24 MB, free: 4.855 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.1617/0.1617, allocations: 23.88 MB / 336.3 MB, free: 11.08 MB / 270.1 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.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_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.002185/0.002185, allocations: 67.89 kB / 471.1 MB, free: 7.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3838, allocations: 59.86 MB / 0.5185 GB, free: 9.48 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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 2.0.0/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.07173/0.4556, allocations: 24.18 MB / 0.5421 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.468, allocations: 8.078 MB / 0.55 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009353/0.469, allocations: 11.88 kB / 0.55 GB, free: 7.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009102/0.4699, allocations: 195.6 kB / 0.5502 GB, free: 7.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.4711, allocations: 362.7 kB / 0.5506 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004781/0.4759, allocations: 1.438 MB / 0.552 GB, free: 6.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.4772, allocations: 0.6699 MB / 0.5526 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004631/0.4776, allocations: 202.3 kB / 0.5528 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005742/0.4782, allocations: 323.9 kB / 0.5531 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005099/0.4787, allocations: 335.5 kB / 0.5534 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.4789, allocations: 36 kB / 0.5535 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.4813, allocations: 0.7717 MB / 0.5542 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.4815, allocations: 128.4 kB / 0.5544 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.4819, allocations: 215.4 kB / 0.5546 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003317/0.4852, allocations: 1.516 MB / 0.556 GB, free: 2.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.4852, allocations: 3.938 kB / 0.556 GB, free: 2.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4852, allocations: 3.938 kB / 0.5561 GB, free: 2.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.4852, allocations: 0.75 kB / 0.5561 GB, free: 2.613 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.001961/0.4872, allocations: 0.8862 MB / 0.5569 GB, free: 1.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4872, allocations: 8.031 kB / 0.5569 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.4873, allocations: 74.53 kB / 0.557 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008152/0.4881, allocations: 154.7 kB / 0.5571 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008177/0.489, allocations: 398.5 kB / 0.5575 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.489, allocations: 25.03 kB / 0.5575 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.988e-05/0.4891, allocations: 31.94 kB / 0.5576 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.4901, allocations: 0.5262 MB / 0.5581 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.4901, allocations: 3.938 kB / 0.5581 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/0.4901, allocations: 16 kB / 0.5581 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.4902, allocations: 8 kB / 0.5581 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.4915, allocations: 0.7956 MB / 0.5589 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003203/0.4947, allocations: 1.786 MB / 0.5606 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.4953, allocations: 196.8 kB / 0.5608 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.4956, allocations: 122.8 kB / 0.5609 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00326/0.4988, allocations: 1.288 MB / 0.5622 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.4989, allocations: 39.27 kB / 0.5622 GB, free: 12.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.4989, allocations: 0 / 0.5622 GB, free: 12.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006553/0.4995, allocations: 298 kB / 0.5625 GB, free: 12.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.4996, allocations: 52.16 kB / 0.5626 GB, free: 12.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006254/0.5002, allocations: 493.2 kB / 0.563 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.5002, allocations: 29.7 kB / 0.5631 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.5005, allocations: 305.3 kB / 0.5634 GB, free: 11.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/0.5006, allocations: 57.7 kB / 0.5634 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.5007, allocations: 101.7 kB / 0.5635 GB, free: 11.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.5009, allocations: 361.9 kB / 0.5639 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.5011, allocations: 91.64 kB / 0.5639 GB, free: 11.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/0.5015, allocations: 361.1 kB / 0.5643 GB, free: 10.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/0.5021, allocations: 0.4963 MB / 0.5648 GB, free: 10.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.5021, allocations: 8 kB / 0.5648 GB, free: 10.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007966/0.5029, allocations: 493.5 kB / 0.5653 GB, free: 9.578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.503, allocations: 12 kB / 0.5653 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.503, allocations: 8 kB / 0.5653 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.503, allocations: 16.03 kB / 0.5653 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.5033, allocations: 111.8 kB / 0.5654 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/0.5034, allocations: 19.92 kB / 0.5654 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.5036, allocations: 59.5 kB / 0.5655 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/0.5037, allocations: 32 kB / 0.5655 GB, free: 9.324 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.0002214/0.5039, allocations: 181.6 kB / 0.5657 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.523e-05/0.504, allocations: 51.67 kB / 0.5657 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007668/0.5048, allocations: 399.9 kB / 0.5661 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.5048, allocations: 0 / 0.5661 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5048, allocations: 4 kB / 0.5661 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.5048, allocations: 3.938 kB / 0.5661 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009806/0.5058, allocations: 0.6617 MB / 0.5668 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.5058, allocations: 7.938 kB / 0.5668 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.359e-05/0.5058, allocations: 11.98 kB / 0.5668 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.5059, allocations: 4 kB / 0.5668 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.5059, allocations: 0 / 0.5668 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.5059, allocations: 7.938 kB / 0.5668 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5059, allocations: 4.188 kB / 0.5668 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.5062, allocations: 201 kB / 0.567 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.5063, allocations: 59.58 kB / 0.567 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-05/0.5064, allocations: 7.953 kB / 0.5671 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.5065, allocations: 4 kB / 0.5671 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.5065, allocations: 11.97 kB / 0.5671 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.5065, allocations: 8 kB / 0.5671 GB, free: 7.559 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005189/0.507, allocations: 410.8 kB / 0.5675 GB, free: 7.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.507, allocations: 0 / 0.5675 GB, free: 7.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008684/0.5079, allocations: 251.1 kB / 0.5677 GB, free: 6.914 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.001212/0.5091, allocations: 1.033 MB / 0.5687 GB, free: 5.832 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.5095, allocations: 216.3 kB / 0.5689 GB, free: 5.621 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5095, allocations: 0 / 0.5689 GB, free: 5.621 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.131e-05/0.5096, allocations: 37.73 kB / 0.569 GB, free: 5.586 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.5102, allocations: 119.4 kB / 0.5691 GB, free: 5.477 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005458/0.5156, allocations: 4.156 MB / 0.5731 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.5159, allocations: 211.8 kB / 0.5733 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004298/0.5163, allocations: 140.1 kB / 0.5735 GB, free: 0.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.5166, allocations: 171.4 kB / 0.5736 GB, free: 424 kB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5166, allocations: 0 / 0.5736 GB, free: 424 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04639/0.563, allocations: 14.42 MB / 0.5877 GB, free: 2.156 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.07, allocations: 0 / 0.5877 GB, free: 2.156 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2.fmu > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.836010708007962] Failed to read output from testmodel.py, exit status != 0: 12.184574247337878 12.212781847 11.722283765 Calling exit ...