Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001257/0.001257, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.001389/0.001389, allocations: 220.3 kB / 22.25 MB, free: 5.098 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.377/1.377, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1334/0.1334, allocations: 23.93 MB / 336.4 MB, free: 10.95 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_Get_DfG,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_master_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.001981/0.001981, allocations: 67.91 kB / 471.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3263, allocations: 59.88 MB / 0.5186 GB, free: 9.551 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_Get_DfG): time 0.06425/0.3905, allocations: 23.77 MB / 0.5418 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007925/0.3984, allocations: 5.559 MB / 0.5472 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003707/0.3988, allocations: 11.88 kB / 0.5473 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.3993, allocations: 140.4 kB / 0.5474 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006459/0.3999, allocations: 263.5 kB / 0.5476 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.4023, allocations: 0.9818 MB / 0.5486 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006839/0.403, allocations: 0.5077 MB / 0.5491 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.4033, allocations: 170.8 kB / 0.5493 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.4036, allocations: 243.5 kB / 0.5495 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004054/0.404, allocations: 276.8 kB / 0.5498 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.659e-05/0.404, allocations: 28 kB / 0.5498 GB, free: 8.246 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.4052, allocations: 0.5374 MB / 0.5503 GB, free: 7.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.4053, allocations: 96.89 kB / 0.5504 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.4055, allocations: 167.9 kB / 0.5506 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.407, allocations: 1.088 MB / 0.5516 GB, free: 6.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.407, allocations: 0 / 0.5516 GB, free: 6.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.407, allocations: 3.938 kB / 0.5516 GB, free: 6.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.407, allocations: 0 / 0.5516 GB, free: 6.617 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.001135/0.4081, allocations: 0.7302 MB / 0.5523 GB, free: 5.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4082, allocations: 8.734 kB / 0.5524 GB, free: 5.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.541e-05/0.4083, allocations: 60.89 kB / 0.5524 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005346/0.4088, allocations: 119.1 kB / 0.5525 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00063/0.4094, allocations: 335.3 kB / 0.5528 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.4095, allocations: 21.03 kB / 0.5529 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/0.4095, allocations: 27.94 kB / 0.5529 GB, free: 5.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.4102, allocations: 448.3 kB / 0.5533 GB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4102, allocations: 0 / 0.5533 GB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/0.4103, allocations: 12 kB / 0.5533 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.4103, allocations: 8 kB / 0.5533 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009717/0.4113, allocations: 0.5774 MB / 0.5539 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/0.4138, allocations: 1.663 MB / 0.5555 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.4141, allocations: 135 kB / 0.5557 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.4142, allocations: 77.44 kB / 0.5557 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002015/0.4163, allocations: 0.9262 MB / 0.5566 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.4163, allocations: 31.36 kB / 0.5567 GB, free: 1.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.4163, allocations: 4 kB / 0.5567 GB, free: 1.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000434/0.4167, allocations: 185.8 kB / 0.5568 GB, free: 1.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.4168, allocations: 55.95 kB / 0.5569 GB, free: 1.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005481/0.4173, allocations: 444 kB / 0.5573 GB, free: 1.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.4174, allocations: 29.64 kB / 0.5573 GB, free: 1.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.4176, allocations: 278.4 kB / 0.5576 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.4176, allocations: 35.41 kB / 0.5576 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.4177, allocations: 75.81 kB / 0.5577 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.4179, allocations: 351.4 kB / 0.5581 GB, free: 468 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.418, allocations: 66.48 kB / 0.5581 GB, free: 412 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.4183, allocations: 289.9 kB / 0.5584 GB, free: 28 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/0.4188, allocations: 381.1 kB / 0.5588 GB, free: 15.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.4188, allocations: 4 kB / 0.5588 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006333/0.4195, allocations: 394.2 kB / 0.5591 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4195, allocations: 8 kB / 0.5591 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.4195, allocations: 8.656 kB / 0.5592 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.4195, allocations: 16.03 kB / 0.5592 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.4198, allocations: 95.06 kB / 0.5593 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/0.4198, allocations: 13.81 kB / 0.5593 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.4201, allocations: 44.19 kB / 0.5593 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.4201, allocations: 29.12 kB / 0.5593 GB, free: 15.01 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.0001693/0.4203, allocations: 160.6 kB / 0.5595 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.4203, allocations: 40.23 kB / 0.5595 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004615/0.4208, allocations: 244.8 kB / 0.5598 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.4208, allocations: 7.875 kB / 0.5598 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4208, allocations: 0 / 0.5598 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4208, allocations: 0.6094 kB / 0.5598 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005818/0.4214, allocations: 0.4934 MB / 0.5603 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.4214, allocations: 0 / 0.5603 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.4214, allocations: 8.438 kB / 0.5603 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4214, allocations: 4.062 kB / 0.5603 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.4214, allocations: 4.734 kB / 0.5603 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4214, allocations: 0 / 0.5603 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4214, allocations: 4 kB / 0.5603 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.4216, allocations: 106.3 kB / 0.5604 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.061e-05/0.4217, allocations: 42.56 kB / 0.5604 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.4217, allocations: 0 / 0.5604 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.4218, allocations: 0.7031 kB / 0.5604 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/0.4218, allocations: 0.7031 kB / 0.5604 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.4218, allocations: 4 kB / 0.5604 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004346/0.4223, allocations: 360.9 kB / 0.5608 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4223, allocations: 4.031 kB / 0.5608 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005643/0.4228, allocations: 186.9 kB / 0.5609 GB, free: 13.39 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.0008407/0.4237, allocations: 0.8422 MB / 0.5618 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.4239, allocations: 155 kB / 0.5619 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4239, allocations: 4 kB / 0.5619 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-05/0.424, allocations: 5.734 kB / 0.5619 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.4245, allocations: 89.83 kB / 0.562 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004121/0.4286, allocations: 3.478 MB / 0.5654 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.4288, allocations: 180.2 kB / 0.5656 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002846/0.4291, allocations: 106.1 kB / 0.5657 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.4292, allocations: 129.8 kB / 0.5658 GB, free: 8.457 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4292, allocations: 4 kB / 0.5658 GB, free: 8.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04012/0.4694, allocations: 11.47 MB / 0.577 GB, free: 13.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.07, allocations: 0 / 0.577 GB, free: 13.29 MB / 430.1 MB " [Timeout remaining time 649] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.583659279975109] Failed to read output from testmodel.py, exit status != 0: 11.185328260005917 11.214233499 10.802273696 Calling exit ...