Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 247.8 MB, free: 3.758 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09667/0.09667, allocations: 15.54 MB / 318.2 MB, free: 13.54 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00284/0.00284, allocations: 63.89 kB / 444.9 MB, free: 128 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2735, allocations: 56.55 MB / 0.4897 GB, free: 20.48 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019: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 1.4.1-master/package.mo:3019:6-3019: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.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG): time 0.02952/0.3031, allocations: 23.67 MB / 0.5128 GB, free: 200 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008502/0.3116, allocations: 6.304 MB / 0.519 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004335/0.312, allocations: 7.938 kB / 0.519 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.3125, allocations: 162.8 kB / 0.5192 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006746/0.3132, allocations: 258 kB / 0.5194 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.3157, allocations: 0.9666 MB / 0.5203 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007737/0.3164, allocations: 0.5137 MB / 0.5208 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/0.3168, allocations: 172.8 kB / 0.521 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002967/0.317, allocations: 239.3 kB / 0.5212 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000401/0.3174, allocations: 275 kB / 0.5215 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/0.3175, allocations: 28 kB / 0.5215 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.319, allocations: 0.5538 MB / 0.5221 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.3191, allocations: 99.67 kB / 0.5222 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.3193, allocations: 203 kB / 0.5224 GB, free: 6.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.3211, allocations: 1.078 MB / 0.5234 GB, free: 5.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3211, allocations: 0 / 0.5234 GB, free: 5.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3211, allocations: 0 / 0.5234 GB, free: 5.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3212, allocations: 0 / 0.5234 GB, free: 5.312 MB / 382.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.001336/0.3225, allocations: 0.813 MB / 0.5242 GB, free: 4.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3225, allocations: 8.031 kB / 0.5242 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.626e-05/0.3226, allocations: 66.72 kB / 0.5243 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005654/0.3232, allocations: 120.3 kB / 0.5244 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006902/0.3239, allocations: 392.1 kB / 0.5248 GB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.3239, allocations: 24.88 kB / 0.5248 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.324, allocations: 27.94 kB / 0.5248 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007263/0.3247, allocations: 450.1 kB / 0.5252 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3247, allocations: 0 / 0.5252 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.3247, allocations: 12 kB / 0.5253 GB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.3247, allocations: 4 kB / 0.5253 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009152/0.3257, allocations: 0.5872 MB / 0.5258 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.3282, allocations: 1.753 MB / 0.5275 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.3285, allocations: 130.5 kB / 0.5277 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.3287, allocations: 80.77 kB / 0.5277 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002694/0.3314, allocations: 1.876 MB / 0.5296 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.3314, allocations: 34.56 kB / 0.5296 GB, free: 14.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.3314, allocations: 0 / 0.5296 GB, free: 14.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004499/0.3319, allocations: 189.5 kB / 0.5298 GB, free: 14.28 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.3319, allocations: 55.34 kB / 0.5298 GB, free: 14.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006067/0.3325, allocations: 433.8 kB / 0.5303 GB, free: 13.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.3326, allocations: 25.7 kB / 0.5303 GB, free: 13.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.3328, allocations: 271.6 kB / 0.5305 GB, free: 13.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.3328, allocations: 35.73 kB / 0.5306 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.3329, allocations: 85.64 kB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3331, allocations: 346.8 kB / 0.531 GB, free: 13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.3333, allocations: 59.97 kB / 0.531 GB, free: 12.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.3336, allocations: 294.1 kB / 0.5313 GB, free: 12.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/0.3341, allocations: 389.5 kB / 0.5317 GB, free: 12.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.3341, allocations: 4 kB / 0.5317 GB, free: 12.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006757/0.3348, allocations: 393.5 kB / 0.5321 GB, free: 11.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.3348, allocations: 12.06 kB / 0.5321 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.3349, allocations: 11.98 kB / 0.5321 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.3349, allocations: 12 kB / 0.5321 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.3352, allocations: 83.84 kB / 0.5322 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-05/0.3352, allocations: 20.3 kB / 0.5322 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.3355, allocations: 43.67 kB / 0.5323 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.3355, allocations: 27.94 kB / 0.5323 GB, free: 11.46 MB / 398.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.0001923/0.3357, allocations: 169.6 kB / 0.5324 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.045e-05/0.3358, allocations: 47.66 kB / 0.5325 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/0.3363, allocations: 239.7 kB / 0.5327 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3363, allocations: 7.922 kB / 0.5327 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3363, allocations: 0 / 0.5327 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3363, allocations: 0 / 0.5327 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.3369, allocations: 0.5337 MB / 0.5332 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3369, allocations: 0 / 0.5332 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.337, allocations: 7.938 kB / 0.5333 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.337, allocations: 0 / 0.5333 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.337, allocations: 3.984 kB / 0.5333 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.337, allocations: 0 / 0.5333 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.337, allocations: 0 / 0.5333 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.3371, allocations: 112.9 kB / 0.5334 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.3373, allocations: 128.7 kB / 0.5335 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.3373, allocations: 0 / 0.5335 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.605e-05/0.3374, allocations: 4 kB / 0.5335 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.3374, allocations: 4 kB / 0.5335 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.3374, allocations: 0 / 0.5335 GB, free: 10.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004562/0.3379, allocations: 358.9 kB / 0.5338 GB, free: 9.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3379, allocations: 0 / 0.5338 GB, free: 9.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006493/0.3385, allocations: 183.4 kB / 0.534 GB, free: 9.547 MB / 398.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.0009582/0.3395, allocations: 0.8418 MB / 0.5348 GB, free: 8.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003339/0.3398, allocations: 165.5 kB / 0.535 GB, free: 8.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3398, allocations: 0 / 0.535 GB, free: 8.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.618e-05/0.3399, allocations: 4 kB / 0.535 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/0.3404, allocations: 95.36 kB / 0.5351 GB, free: 8.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.345, allocations: 3.48 MB / 0.5385 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/0.3455, allocations: 0.7834 MB / 0.5392 GB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000327/0.3458, allocations: 95.19 kB / 0.5393 GB, free: 3.754 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.346, allocations: 135.4 kB / 0.5395 GB, free: 3.621 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.346, allocations: 0 / 0.5395 GB, free: 3.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03889/0.3849, allocations: 10.27 MB / 0.5495 GB, free: 9.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.674/9.059, allocations: 4 kB / 0.5495 GB, free: 9.414 MB / 414.1 MB " [Timeout remaining time 651] (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG.fmu > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.686955885961652] Failed to read output from testmodel.py, exit status != 0: 9.134949873201549 9.149080917 8.824735287 Calling exit ...