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.001974/0.001974, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.002481/0.002481, allocations: 213.7 kB / 19.43 MB, free: 3.648 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 / 252.8 MB, free: 9.086 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.1443/0.1443, allocations: 23.85 MB / 332.7 MB, free: 12.36 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",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.002382/0.002382, allocations: 63.89 kB / 466 MB, free: 10.08 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3761, allocations: 59.81 MB / 0.5135 GB, free: 8.879 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.03814/0.4143, allocations: 23.9 MB / 0.5368 GB, free: 164 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008467/0.4227, allocations: 6.356 MB / 0.543 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004209/0.4232, allocations: 11.88 kB / 0.543 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00061/0.4238, allocations: 155.7 kB / 0.5432 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009385/0.4247, allocations: 253.7 kB / 0.5434 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.4275, allocations: 0.9781 MB / 0.5444 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009216/0.4284, allocations: 0.4994 MB / 0.5449 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003912/0.4288, allocations: 174.5 kB / 0.545 GB, free: 8.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003874/0.4292, allocations: 255.3 kB / 0.5453 GB, free: 8.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004971/0.4297, allocations: 265.3 kB / 0.5455 GB, free: 8.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.98e-05/0.4298, allocations: 31.94 kB / 0.5456 GB, free: 8.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.4314, allocations: 0.5631 MB / 0.5461 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.4316, allocations: 96.91 kB / 0.5462 GB, free: 7.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002573/0.4318, allocations: 199.7 kB / 0.5464 GB, free: 7.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.434, allocations: 1.097 MB / 0.5475 GB, free: 6.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.434, allocations: 0 / 0.5475 GB, free: 6.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.434, allocations: 0.6094 kB / 0.5475 GB, free: 6.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.434, allocations: 0 / 0.5475 GB, free: 6.805 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.00127/0.4352, allocations: 0.802 MB / 0.5482 GB, free: 6.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4353, allocations: 8.969 kB / 0.5483 GB, free: 5.996 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.162e-05/0.4354, allocations: 64.92 kB / 0.5483 GB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005627/0.4359, allocations: 118.4 kB / 0.5484 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.4365, allocations: 400.2 kB / 0.5488 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.4365, allocations: 20.94 kB / 0.5488 GB, free: 5.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-05/0.4366, allocations: 27.94 kB / 0.5489 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007101/0.4373, allocations: 446.1 kB / 0.5493 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4373, allocations: 4.75 kB / 0.5493 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.4374, allocations: 8 kB / 0.5493 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.4374, allocations: 8 kB / 0.5493 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009499/0.4383, allocations: 0.585 MB / 0.5499 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.4407, allocations: 1.769 MB / 0.5516 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.441, allocations: 128.7 kB / 0.5517 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.4411, allocations: 79.56 kB / 0.5518 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00242/0.4436, allocations: 1.874 MB / 0.5536 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.4436, allocations: 39.12 kB / 0.5537 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.4436, allocations: 0 / 0.5537 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004348/0.444, allocations: 186.3 kB / 0.5538 GB, free: 480 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.4441, allocations: 59.34 kB / 0.5539 GB, free: 408 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005327/0.4446, allocations: 432.2 kB / 0.5543 GB, free: 16 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.4446, allocations: 25.7 kB / 0.5543 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.4448, allocations: 274.3 kB / 0.5546 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.4449, allocations: 39.64 kB / 0.5546 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.445, allocations: 79.95 kB / 0.5547 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4452, allocations: 351.3 kB / 0.555 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.4453, allocations: 62.78 kB / 0.5551 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.4456, allocations: 290.2 kB / 0.5554 GB, free: 14.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004716/0.4461, allocations: 384.6 kB / 0.5558 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.4461, allocations: 4 kB / 0.5558 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006358/0.4467, allocations: 390.1 kB / 0.5561 GB, free: 14.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.4467, allocations: 12.22 kB / 0.5561 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.4468, allocations: 8.703 kB / 0.5561 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.4468, allocations: 8 kB / 0.5562 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.4471, allocations: 99.2 kB / 0.5562 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.4471, allocations: 18.09 kB / 0.5563 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.4473, allocations: 43.67 kB / 0.5563 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.4474, allocations: 21.22 kB / 0.5563 GB, free: 13.84 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.0001692/0.4475, allocations: 168.8 kB / 0.5565 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.4476, allocations: 44.23 kB / 0.5565 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/0.4481, allocations: 236.1 kB / 0.5568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.4481, allocations: 7.938 kB / 0.5568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4481, allocations: 0.7031 kB / 0.5568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.4481, allocations: 0 / 0.5568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005989/0.4487, allocations: 0.5366 MB / 0.5573 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4487, allocations: 0 / 0.5573 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.4487, allocations: 4.688 kB / 0.5573 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.549e-05/0.4487, allocations: 4.75 kB / 0.5573 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.4487, allocations: 3.938 kB / 0.5573 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4487, allocations: 0 / 0.5573 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4487, allocations: 0 / 0.5573 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.4489, allocations: 114.1 kB / 0.5574 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.449, allocations: 123.8 kB / 0.5575 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.449, allocations: 4.641 kB / 0.5575 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.569e-05/0.4491, allocations: 0.7031 kB / 0.5575 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.4492, allocations: 0 / 0.5575 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.4492, allocations: 4.75 kB / 0.5575 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004534/0.4496, allocations: 360.3 kB / 0.5579 GB, free: 12.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4496, allocations: 3.938 kB / 0.5579 GB, free: 12.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006109/0.4502, allocations: 171.8 kB / 0.558 GB, free: 12.09 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.0008826/0.4511, allocations: 0.8569 MB / 0.5589 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.4514, allocations: 158 kB / 0.559 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4514, allocations: 0 / 0.559 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.052e-05/0.4515, allocations: 14.16 kB / 0.5591 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.452, allocations: 90.62 kB / 0.5591 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004488/0.4565, allocations: 3.471 MB / 0.5625 GB, free: 7.504 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.4569, allocations: 0.7908 MB / 0.5633 GB, free: 6.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003052/0.4572, allocations: 92.75 kB / 0.5634 GB, free: 6.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.4574, allocations: 137.5 kB / 0.5635 GB, free: 6.535 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4574, allocations: 0 / 0.5635 GB, free: 6.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03638/0.4938, allocations: 10.38 MB / 0.5737 GB, free: 12.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.731/9.225, allocations: 26.02 kB / 0.5737 GB, free: 12.54 MB / 430.1 MB " [Timeout remaining time 651] (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: 11.965795574942604] Failed to read output from testmodel.py, exit status != 0: 9.299604900181293 9.314501389 8.877429648 Calling exit ...