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.0007786/0.0007786, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0007407/0.0007407, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.837/0.837, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.08031/0.08031, allocations: 17.45 MB / 276.6 MB, free: 11.77 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 411.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.964e-05, allocations: 2.984 kB / 411.6 MB, free: 12.46 MB / 330.7 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.01974/0.01976, allocations: 24.15 MB / 435.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004586/0.02435, allocations: 5.559 MB / 441.3 MB, free: 10.81 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.02455, allocations: 11.88 kB / 441.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003849/0.02493, allocations: 143.9 kB / 441.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005041/0.02544, allocations: 275.5 kB / 441.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.02714, allocations: 1.01 MB / 442.7 MB, free: 9.602 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.02764, allocations: 0.5221 MB / 443.3 MB, free: 9.129 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.02789, allocations: 170.4 kB / 443.4 MB, free: 8.996 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.02814, allocations: 324 kB / 443.7 MB, free: 8.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.02842, allocations: 226 kB / 444 MB, free: 8.559 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.02847, allocations: 28 kB / 444 MB, free: 8.531 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007729/0.02924, allocations: 0.5293 MB / 444.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.256e-05/0.02933, allocations: 96.17 kB / 444.6 MB, free: 7.977 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.02944, allocations: 136.7 kB / 444.7 MB, free: 7.855 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.03047, allocations: 1.152 MB / 445.9 MB, free: 6.898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.03047, allocations: 4 kB / 445.9 MB, free: 6.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.03047, allocations: 0 / 445.9 MB, free: 6.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.03048, allocations: 0.6562 kB / 445.9 MB, free: 6.895 MB / 346.7 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.0009023/0.03138, allocations: 0.7304 MB / 446.6 MB, free: 6.184 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.03141, allocations: 12.73 kB / 446.6 MB, free: 6.172 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.081e-05/0.03147, allocations: 60.75 kB / 446.7 MB, free: 6.109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.03177, allocations: 118.4 kB / 446.8 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.03213, allocations: 338.7 kB / 447.1 MB, free: 5.695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.03214, allocations: 17.78 kB / 447.2 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.03217, allocations: 28.38 kB / 447.2 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.03262, allocations: 447.6 kB / 447.6 MB, free: 5.258 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.03263, allocations: 4.609 kB / 447.6 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.03265, allocations: 12 kB / 447.6 MB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.03266, allocations: 4 kB / 447.6 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005509/0.03321, allocations: 0.5738 MB / 448.2 MB, free: 4.754 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.03456, allocations: 1.668 MB / 449.9 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.03476, allocations: 138.9 kB / 450 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.376e-05/0.03485, allocations: 77.11 kB / 450.1 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009937/0.03585, allocations: 0.9106 MB / 451 MB, free: 2.148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.03586, allocations: 35.22 kB / 451 MB, free: 2.105 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.03587, allocations: 0 / 451 MB, free: 2.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002936/0.03616, allocations: 186.5 kB / 451.2 MB, free: 1.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.03619, allocations: 59.34 kB / 451.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.03653, allocations: 449.2 kB / 451.7 MB, free: 1.473 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.03654, allocations: 29.7 kB / 451.8 MB, free: 1.438 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.03667, allocations: 269.6 kB / 452 MB, free: 1.188 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.03669, allocations: 31.36 kB / 452 MB, free: 1.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.232e-05/0.03676, allocations: 79.48 kB / 452.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.284e-05/0.03685, allocations: 354.4 kB / 452.5 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.729e-05/0.03694, allocations: 67.16 kB / 452.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.03711, allocations: 285.7 kB / 452.8 MB, free: 320 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.03741, allocations: 392.8 kB / 453.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.03741, allocations: 0 / 453.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003779/0.03779, allocations: 397.8 kB / 453.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.03781, allocations: 11.73 kB / 453.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.475e-06/0.03781, allocations: 8 kB / 453.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.03783, allocations: 12.8 kB / 453.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.03798, allocations: 90.89 kB / 453.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.03799, allocations: 14.05 kB / 453.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.03824, allocations: 51.56 kB / 453.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.03827, allocations: 29.22 kB / 453.8 MB, free: 15.28 MB / 362.7 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.0001032/0.03838, allocations: 161.2 kB / 454 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.03841, allocations: 39.77 kB / 454 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.03868, allocations: 245.9 kB / 454.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.03868, allocations: 0 / 454.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.03869, allocations: 4 kB / 454.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.03869, allocations: 4.031 kB / 454.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.039, allocations: 0.4898 MB / 454.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.039, allocations: 0 / 454.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.506e-06/0.039, allocations: 3.938 kB / 454.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.03901, allocations: 4 kB / 454.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.03901, allocations: 0 / 454.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.03901, allocations: 3.938 kB / 454.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.03901, allocations: 3.984 kB / 454.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.084e-05/0.03908, allocations: 100.9 kB / 454.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.03912, allocations: 43.7 kB / 454.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.03915, allocations: 8 kB / 454.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.671e-05/0.0392, allocations: 7.938 kB / 454.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.03921, allocations: 0 / 454.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-06/0.03921, allocations: 0 / 454.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002424/0.03945, allocations: 358.9 kB / 455.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03945, allocations: 3.938 kB / 455.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003243/0.03977, allocations: 179.4 kB / 455.4 MB, free: 13.56 MB / 362.7 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.0004968/0.04027, allocations: 0.8501 MB / 456.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.04045, allocations: 155.7 kB / 456.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.04046, allocations: 6 kB / 456.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.694e-06/0.04046, allocations: 8 kB / 456.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.04076, allocations: 97.83 kB / 456.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.04318, allocations: 3.433 MB / 460 MB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.059e-05/0.04327, allocations: 185.1 kB / 460.2 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001779/0.04345, allocations: 102.7 kB / 460.3 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.04356, allocations: 132.5 kB / 460.4 MB, free: 8.273 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.04356, allocations: 0 / 460.4 MB, free: 8.273 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.0668, allocations: 11.51 MB / 471.9 MB, free: 12.92 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.631/6.698, allocations: 6.719 kB / 471.9 MB, free: 12.92 MB / 378.7 MB " [Timeout remaining time 653] (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: 8.46215065382421] Failed to read output from testmodel.py, exit status != 0: 6.914160214364529 6.787068728 6.755137418 Calling exit ...