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.001391/0.001391, allocations: 116.8 kB / 17.17 MB, free: 6.004 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.001424/0.001424, allocations: 214.4 kB / 20.13 MB, free: 3.051 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1605/0.1605, allocations: 23.86 MB / 333.4 MB, free: 1.203 MB / 254.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.002856/0.002856, allocations: 64.34 kB / 466.7 MB, free: 30.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1401, allocations: 59.83 MB / 0.5142 GB, free: 12.96 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.05568/0.1958, allocations: 23.71 MB / 0.5373 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008993/0.2048, allocations: 6.358 MB / 0.5435 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004225/0.2052, allocations: 11.88 kB / 0.5436 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006449/0.2058, allocations: 166.8 kB / 0.5437 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00098/0.2068, allocations: 253.9 kB / 0.544 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.2098, allocations: 0.9666 MB / 0.5449 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009119/0.2107, allocations: 0.5059 MB / 0.5454 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/0.2111, allocations: 172.8 kB / 0.5456 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003753/0.2115, allocations: 251.3 kB / 0.5458 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004805/0.212, allocations: 267 kB / 0.5461 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.2121, allocations: 28 kB / 0.5461 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.214, allocations: 0.5616 MB / 0.5466 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.2141, allocations: 87.69 kB / 0.5467 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002789/0.2144, allocations: 210.9 kB / 0.5469 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00242/0.2168, allocations: 1.089 MB / 0.548 GB, free: 10.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2168, allocations: 4 kB / 0.548 GB, free: 10.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2168, allocations: 0 / 0.548 GB, free: 10.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.007e-05/0.2169, allocations: 0 / 0.548 GB, free: 10.36 MB / 414.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.00158/0.2184, allocations: 0.8091 MB / 0.5488 GB, free: 9.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.2185, allocations: 12.03 kB / 0.5488 GB, free: 9.488 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.578e-05/0.2185, allocations: 4.75 kB / 0.5488 GB, free: 9.484 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.748e-05/0.2186, allocations: 58.73 kB / 0.5488 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006003/0.2192, allocations: 124.3 kB / 0.549 GB, free: 9.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006374/0.2198, allocations: 396 kB / 0.5493 GB, free: 8.875 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.2199, allocations: 28.69 kB / 0.5494 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.935e-05/0.2199, allocations: 24 kB / 0.5494 GB, free: 8.824 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007496/0.2207, allocations: 442.1 kB / 0.5498 GB, free: 8.355 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.2207, allocations: 4 kB / 0.5498 GB, free: 8.352 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.2207, allocations: 12 kB / 0.5498 GB, free: 8.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.2207, allocations: 7.938 kB / 0.5498 GB, free: 8.332 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009853/0.2217, allocations: 0.5833 MB / 0.5504 GB, free: 7.746 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/0.2243, allocations: 1.765 MB / 0.5521 GB, free: 5.895 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.2246, allocations: 122.5 kB / 0.5522 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.2248, allocations: 84.77 kB / 0.5523 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002498/0.2273, allocations: 1.869 MB / 0.5541 GB, free: 3.562 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.2273, allocations: 42.55 kB / 0.5542 GB, free: 3.512 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.2273, allocations: 0 / 0.5542 GB, free: 3.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004798/0.2278, allocations: 193.4 kB / 0.5544 GB, free: 3.316 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.2279, allocations: 51.41 kB / 0.5544 GB, free: 3.254 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/0.2284, allocations: 429.8 kB / 0.5548 GB, free: 2.816 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.2284, allocations: 33.7 kB / 0.5549 GB, free: 2.777 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.2286, allocations: 267.7 kB / 0.5551 GB, free: 2.512 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.2287, allocations: 39.69 kB / 0.5552 GB, free: 2.473 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.2288, allocations: 81.58 kB / 0.5552 GB, free: 2.387 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.229, allocations: 350.8 kB / 0.5556 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.2291, allocations: 63.95 kB / 0.5556 GB, free: 1.973 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.2294, allocations: 289.7 kB / 0.5559 GB, free: 1.582 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.2299, allocations: 381.5 kB / 0.5563 GB, free: 1.102 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.2299, allocations: 4 kB / 0.5563 GB, free: 1.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006977/0.2306, allocations: 401.1 kB / 0.5567 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.2307, allocations: 8 kB / 0.5567 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.2307, allocations: 8 kB / 0.5567 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/0.2307, allocations: 15.97 kB / 0.5567 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.231, allocations: 87.89 kB / 0.5568 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/0.231, allocations: 15.94 kB / 0.5568 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.2313, allocations: 48.17 kB / 0.5568 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.644e-05/0.2313, allocations: 27.98 kB / 0.5569 GB, free: 0.4922 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.0001906/0.2315, allocations: 162.5 kB / 0.557 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.2316, allocations: 39.72 kB / 0.5571 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005218/0.2321, allocations: 247.4 kB / 0.5573 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.2321, allocations: 3.938 kB / 0.5573 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.2322, allocations: 4 kB / 0.5573 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2322, allocations: 384 / 0.5573 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000677/0.2328, allocations: 0.5259 MB / 0.5578 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.2328, allocations: 3.938 kB / 0.5578 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/0.2329, allocations: 7.984 kB / 0.5578 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2329, allocations: 3.938 kB / 0.5578 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.2329, allocations: 4.062 kB / 0.5578 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2329, allocations: 0 / 0.5578 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2329, allocations: 0 / 0.5578 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.233, allocations: 108.8 kB / 0.5579 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.2332, allocations: 128.7 kB / 0.5581 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.2332, allocations: 0 / 0.5581 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.2333, allocations: 0 / 0.5581 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.2333, allocations: 0 / 0.5581 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.2333, allocations: 8.031 kB / 0.5581 GB, free: 15.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004574/0.2338, allocations: 362.8 kB / 0.5584 GB, free: 14.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2338, allocations: 0 / 0.5584 GB, free: 14.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006142/0.2344, allocations: 175.4 kB / 0.5586 GB, free: 14.6 MB / 430.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.0009609/0.2354, allocations: 0.8535 MB / 0.5594 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.2357, allocations: 153.4 kB / 0.5596 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2357, allocations: 0 / 0.5596 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.745e-05/0.2357, allocations: 12 kB / 0.5596 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.2363, allocations: 90.22 kB / 0.5597 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004682/0.2409, allocations: 3.48 MB / 0.563 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.2414, allocations: 0.7834 MB / 0.5638 GB, free: 8.883 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003438/0.2418, allocations: 107 kB / 0.5639 GB, free: 8.781 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.242, allocations: 135.3 kB / 0.564 GB, free: 8.648 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.242, allocations: 4 kB / 0.564 GB, free: 8.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03288/0.2748, allocations: 10.41 MB / 0.5742 GB, free: 14.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.981/9.256, allocations: 15.88 kB / 0.5742 GB, free: 14.32 MB / 446.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: 12.19002396002179] Failed to read output from testmodel.py, exit status != 0: 9.394167847000062 9.421218315 9.199397923 Calling exit ...