Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.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.001333/0.001333, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00149/0.00149, allocations: 216.5 kB / 23.04 MB, free: 5.078 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.141/0.141, allocations: 23.85 MB / 337.1 MB, free: 11.21 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_Get_DfG,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="cs",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.002014/0.002014, allocations: 67.84 kB / 471.9 MB, free: 7.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3833, allocations: 59.86 MB / 0.5193 GB, free: 9.621 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_Get_DfG): time 0.03811/0.4214, allocations: 23.72 MB / 0.5425 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008604/0.43, allocations: 6.373 MB / 0.5487 GB, free: 10 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004107/0.4304, allocations: 11.88 kB / 0.5487 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005411/0.4309, allocations: 156.2 kB / 0.5489 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007447/0.4317, allocations: 251.5 kB / 0.5491 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002786/0.4345, allocations: 0.9937 MB / 0.5501 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008887/0.4354, allocations: 0.5035 MB / 0.5506 GB, free: 8.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.4357, allocations: 175.2 kB / 0.5508 GB, free: 8.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003163/0.436, allocations: 246.3 kB / 0.551 GB, free: 8.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005445/0.4366, allocations: 269.8 kB / 0.5513 GB, free: 7.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.562e-05/0.4366, allocations: 31.94 kB / 0.5513 GB, free: 7.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.4384, allocations: 0.5628 MB / 0.5518 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.4385, allocations: 93.09 kB / 0.5519 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.4387, allocations: 208 kB / 0.5521 GB, free: 6.984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.4408, allocations: 1.085 MB / 0.5532 GB, free: 6.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4408, allocations: 0 / 0.5532 GB, free: 6.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4408, allocations: 0 / 0.5532 GB, free: 6.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.4408, allocations: 4 kB / 0.5532 GB, free: 6.074 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001246/0.442, allocations: 0.7307 MB / 0.5539 GB, free: 5.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.4421, allocations: 12.03 kB / 0.5539 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.274e-05/0.4421, allocations: 8.844 kB / 0.5539 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.297e-05/0.4422, allocations: 61.73 kB / 0.554 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005644/0.4427, allocations: 122 kB / 0.5541 GB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005781/0.4433, allocations: 335.8 kB / 0.5544 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.4433, allocations: 24.78 kB / 0.5544 GB, free: 4.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.4434, allocations: 24 kB / 0.5545 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007091/0.4441, allocations: 451.7 kB / 0.5549 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.4441, allocations: 0 / 0.5549 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.4441, allocations: 13.03 kB / 0.5549 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.4442, allocations: 4 kB / 0.5549 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009401/0.4451, allocations: 0.5809 MB / 0.5555 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.4477, allocations: 1.727 MB / 0.5572 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.448, allocations: 140 kB / 0.5573 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.4482, allocations: 73.11 kB / 0.5574 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002072/0.4502, allocations: 0.9375 MB / 0.5583 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.4503, allocations: 38.56 kB / 0.5583 GB, free: 1.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.4503, allocations: 0 / 0.5583 GB, free: 1.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004375/0.4507, allocations: 198.5 kB / 0.5585 GB, free: 1.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.4507, allocations: 51.41 kB / 0.5586 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005093/0.4513, allocations: 436.3 kB / 0.559 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.4513, allocations: 29.64 kB / 0.559 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/0.4515, allocations: 266.7 kB / 0.5593 GB, free: 340 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.4515, allocations: 39.64 kB / 0.5593 GB, free: 304 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.4516, allocations: 79.91 kB / 0.5594 GB, free: 224 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4518, allocations: 350.9 kB / 0.5597 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.452, allocations: 66.77 kB / 0.5598 GB, free: 15.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.4523, allocations: 294.1 kB / 0.5601 GB, free: 15.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/0.4527, allocations: 384.4 kB / 0.5604 GB, free: 14.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.4527, allocations: 4 kB / 0.5604 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00064/0.4534, allocations: 394.6 kB / 0.5608 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.4534, allocations: 14.66 kB / 0.5608 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.4534, allocations: 8 kB / 0.5608 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.4534, allocations: 16.92 kB / 0.5608 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.4537, allocations: 86.52 kB / 0.5609 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.4537, allocations: 14.53 kB / 0.5609 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.454, allocations: 43.73 kB / 0.561 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/0.454, allocations: 25.45 kB / 0.561 GB, free: 14.43 MB / 414.1 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 (38): * Single equations (assignments): 38 * 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.0001836/0.4542, allocations: 169.2 kB / 0.5612 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.4543, allocations: 43.72 kB / 0.5612 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004562/0.4547, allocations: 240.3 kB / 0.5614 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4547, allocations: 3.938 kB / 0.5614 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4548, allocations: 0 / 0.5614 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.4548, allocations: 0.6094 kB / 0.5614 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/0.4554, allocations: 0.5076 MB / 0.5619 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4554, allocations: 4.688 kB / 0.5619 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.507e-05/0.4554, allocations: 4.656 kB / 0.5619 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4554, allocations: 0 / 0.5619 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.4554, allocations: 0 / 0.5619 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4554, allocations: 4 kB / 0.5619 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4554, allocations: 0.6094 kB / 0.5619 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.4555, allocations: 109.7 kB / 0.562 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-05/0.4556, allocations: 47.03 kB / 0.5621 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.4557, allocations: 0.7031 kB / 0.5621 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.4558, allocations: 8.656 kB / 0.5621 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.4558, allocations: 0.6094 kB / 0.5621 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.4558, allocations: 3.938 kB / 0.5621 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004297/0.4562, allocations: 364.2 kB / 0.5625 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4562, allocations: 0 / 0.5625 GB, free: 12.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006068/0.4568, allocations: 179.5 kB / 0.5626 GB, free: 12.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.000871/0.4577, allocations: 0.8456 MB / 0.5635 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.458, allocations: 154 kB / 0.5636 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.458, allocations: 0 / 0.5636 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.744e-05/0.458, allocations: 9.922 kB / 0.5636 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.4586, allocations: 103.5 kB / 0.5637 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004342/0.4629, allocations: 3.482 MB / 0.5671 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.4633, allocations: 0.7861 MB / 0.5679 GB, free: 7.445 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003366/0.4636, allocations: 102.5 kB / 0.568 GB, free: 7.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.4638, allocations: 134.4 kB / 0.5681 GB, free: 7.242 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4638, allocations: 0 / 0.5681 GB, free: 7.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03391/0.4978, allocations: 10.64 MB / 0.5785 GB, free: 12.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.2, allocations: 21.34 kB / 0.5785 GB, free: 12.78 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG.fmu > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.030767860007472] Failed to read output from testmodel.py, exit status != 0: 12.36876249103807 12.386525647 11.941205525 Calling exit ...