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.00177/0.00177, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001572/0.001572, allocations: 213.9 kB / 23.03 MB, free: 4.926 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1478/0.1478, allocations: 23.9 MB / 337.1 MB, free: 10.95 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_master_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.002041/0.002041, allocations: 71.89 kB / 471.9 MB, free: 7.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3772, allocations: 59.86 MB / 0.5193 GB, free: 9.559 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.07258/0.4498, allocations: 23.51 MB / 0.5423 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008172/0.4579, allocations: 5.563 MB / 0.5477 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.4584, allocations: 11.88 kB / 0.5477 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005523/0.459, allocations: 136.6 kB / 0.5479 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008862/0.4598, allocations: 259.7 kB / 0.5481 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.4631, allocations: 0.9896 MB / 0.5491 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009156/0.464, allocations: 0.5036 MB / 0.5496 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003665/0.4644, allocations: 167 kB / 0.5497 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.4647, allocations: 254.7 kB / 0.55 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004493/0.4652, allocations: 265.3 kB / 0.5502 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.27e-05/0.4652, allocations: 28 kB / 0.5503 GB, free: 8.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.4668, allocations: 0.5374 MB / 0.5508 GB, free: 8.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.467, allocations: 104.4 kB / 0.5509 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.4672, allocations: 168 kB / 0.551 GB, free: 7.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.4691, allocations: 1.092 MB / 0.5521 GB, free: 6.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4691, allocations: 0 / 0.5521 GB, free: 6.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4691, allocations: 0 / 0.5521 GB, free: 6.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.4691, allocations: 0 / 0.5521 GB, free: 6.918 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.001234/0.4703, allocations: 0.7279 MB / 0.5528 GB, free: 6.211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.4704, allocations: 8.031 kB / 0.5528 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.825e-05/0.4704, allocations: 12.84 kB / 0.5528 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.164e-05/0.4705, allocations: 61.27 kB / 0.5529 GB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005657/0.471, allocations: 116.4 kB / 0.553 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005752/0.4716, allocations: 340 kB / 0.5533 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.4716, allocations: 24.78 kB / 0.5534 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/0.4717, allocations: 24 kB / 0.5534 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007565/0.4725, allocations: 450 kB / 0.5538 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4725, allocations: 3.938 kB / 0.5538 GB, free: 5.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.4725, allocations: 12 kB / 0.5538 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.4725, allocations: 8 kB / 0.5538 GB, free: 5.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009418/0.4735, allocations: 0.5757 MB / 0.5544 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/0.476, allocations: 1.672 MB / 0.556 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.4763, allocations: 128.4 kB / 0.5561 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.4765, allocations: 76.59 kB / 0.5562 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002032/0.4785, allocations: 0.9069 MB / 0.5571 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.4785, allocations: 39.3 kB / 0.5571 GB, free: 2.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.883e-06/0.4785, allocations: 3.938 kB / 0.5571 GB, free: 2.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004415/0.479, allocations: 190.1 kB / 0.5573 GB, free: 1.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.479, allocations: 56.2 kB / 0.5574 GB, free: 1.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000548/0.4796, allocations: 431.5 kB / 0.5578 GB, free: 1.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.4796, allocations: 29.7 kB / 0.5578 GB, free: 1.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.4798, allocations: 266.7 kB / 0.5581 GB, free: 1.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.4799, allocations: 39.69 kB / 0.5581 GB, free: 1.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.48, allocations: 80.05 kB / 0.5582 GB, free: 1.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4802, allocations: 351 kB / 0.5585 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.4803, allocations: 67.14 kB / 0.5586 GB, free: 0.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.4807, allocations: 297.7 kB / 0.5589 GB, free: 332 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/0.4812, allocations: 386.1 kB / 0.5592 GB, free: 15.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.4812, allocations: 4 kB / 0.5592 GB, free: 15.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006668/0.4819, allocations: 393.2 kB / 0.5596 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.4819, allocations: 8.516 kB / 0.5596 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.4819, allocations: 8 kB / 0.5596 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/0.4819, allocations: 16.72 kB / 0.5597 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.4822, allocations: 91.59 kB / 0.5597 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.038e-05/0.4823, allocations: 22.22 kB / 0.5598 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.4825, allocations: 39.73 kB / 0.5598 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.4826, allocations: 25.36 kB / 0.5598 GB, free: 15.3 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.0001885/0.4828, allocations: 168.2 kB / 0.56 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.4828, allocations: 40.61 kB / 0.56 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/0.4833, allocations: 243.9 kB / 0.5603 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4833, allocations: 3.938 kB / 0.5603 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4833, allocations: 0 / 0.5603 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4833, allocations: 0.5625 kB / 0.5603 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000657/0.484, allocations: 0.4886 MB / 0.5607 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.484, allocations: 8.641 kB / 0.5607 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.484, allocations: 0.7969 kB / 0.5607 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.484, allocations: 0 / 0.5607 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-06/0.484, allocations: 0 / 0.5607 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.484, allocations: 4.062 kB / 0.5608 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.484, allocations: 4.984 kB / 0.5608 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.4842, allocations: 101.7 kB / 0.5609 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.477e-05/0.4843, allocations: 46.56 kB / 0.5609 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.4843, allocations: 0.5625 kB / 0.5609 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.591e-05/0.4844, allocations: 4.781 kB / 0.5609 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.4844, allocations: 4.594 kB / 0.5609 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.4844, allocations: 4 kB / 0.5609 GB, free: 14.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004645/0.4849, allocations: 360 kB / 0.5613 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4849, allocations: 0 / 0.5613 GB, free: 13.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006429/0.4855, allocations: 184.2 kB / 0.5614 GB, free: 13.7 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.0009931/0.4865, allocations: 0.853 MB / 0.5623 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003711/0.4869, allocations: 150.9 kB / 0.5624 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.4869, allocations: 4.25 kB / 0.5624 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.953e-05/0.4869, allocations: 14 kB / 0.5624 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.4875, allocations: 84.91 kB / 0.5625 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/0.4922, allocations: 3.482 MB / 0.5659 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.4924, allocations: 179.9 kB / 0.5661 GB, free: 8.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003148/0.4927, allocations: 105.3 kB / 0.5662 GB, free: 8.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.4929, allocations: 134 kB / 0.5663 GB, free: 8.742 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4929, allocations: 0 / 0.5663 GB, free: 8.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03448/0.5274, allocations: 11.05 MB / 0.5771 GB, free: 14.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.24, allocations: 12 kB / 0.5771 GB, free: 14.02 MB / 430.1 MB " [Timeout remaining time 648] (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: 15.090430984040722] Failed to read output from testmodel.py, exit status != 0: 12.40934932406526 12.424584017 11.952470777 Calling exit ...