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.00181/0.00181, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.002182/0.002182, allocations: 210.7 kB / 23.04 MB, free: 5.074 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.1885/0.1885, allocations: 23.88 MB / 337.1 MB, free: 11.16 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.002001/0.002001, allocations: 67.84 kB / 472 MB, free: 7.648 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.366, allocations: 59.87 MB / 0.5194 GB, free: 9.211 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.03791/0.4039, allocations: 23.73 MB / 0.5426 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009848/0.4137, allocations: 6.357 MB / 0.5488 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005869/0.4143, allocations: 11.88 kB / 0.5488 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.415, allocations: 167.8 kB / 0.549 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000914/0.4159, allocations: 247.7 kB / 0.5492 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004524/0.4204, allocations: 0.99 MB / 0.5502 GB, free: 8.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.4215, allocations: 0.5072 MB / 0.5507 GB, free: 8.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004519/0.422, allocations: 174.5 kB / 0.5508 GB, free: 8.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004051/0.4224, allocations: 243.3 kB / 0.5511 GB, free: 7.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004898/0.4229, allocations: 272.9 kB / 0.5513 GB, free: 7.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.147e-05/0.4229, allocations: 28 kB / 0.5513 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.425, allocations: 0.5633 MB / 0.5519 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.4252, allocations: 100.5 kB / 0.552 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.4254, allocations: 204.1 kB / 0.5522 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002697/0.4281, allocations: 1.089 MB / 0.5532 GB, free: 5.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.4281, allocations: 0 / 0.5532 GB, free: 5.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4281, allocations: 0 / 0.5532 GB, free: 5.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.4281, allocations: 0 / 0.5532 GB, free: 5.875 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.001333/0.4295, allocations: 0.7395 MB / 0.554 GB, free: 5.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4295, allocations: 8.031 kB / 0.554 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.8e-05/0.4295, allocations: 8.844 kB / 0.554 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.039e-05/0.4296, allocations: 62.06 kB / 0.554 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005828/0.4302, allocations: 119.7 kB / 0.5542 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005893/0.4308, allocations: 333.1 kB / 0.5545 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.4308, allocations: 20.78 kB / 0.5545 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.4309, allocations: 28 kB / 0.5545 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007357/0.4316, allocations: 446.2 kB / 0.5549 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4316, allocations: 0 / 0.5549 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.4317, allocations: 15.98 kB / 0.555 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.4317, allocations: 8 kB / 0.555 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000972/0.4326, allocations: 0.5791 MB / 0.5555 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.4352, allocations: 1.731 MB / 0.5572 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.4355, allocations: 132.2 kB / 0.5573 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.4357, allocations: 80.64 kB / 0.5574 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001993/0.4377, allocations: 0.9339 MB / 0.5583 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.4377, allocations: 34.56 kB / 0.5584 GB, free: 1.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.4377, allocations: 0 / 0.5584 GB, free: 1.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004328/0.4382, allocations: 198.7 kB / 0.5586 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.4382, allocations: 51.41 kB / 0.5586 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000521/0.4387, allocations: 440.6 kB / 0.559 GB, free: 424 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.4387, allocations: 29.7 kB / 0.5591 GB, free: 388 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.439, allocations: 265.8 kB / 0.5593 GB, free: 136 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.439, allocations: 39.45 kB / 0.5593 GB, free: 100 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.4391, allocations: 76.84 kB / 0.5594 GB, free: 24 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.4393, allocations: 354.5 kB / 0.5598 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.4395, allocations: 71.3 kB / 0.5598 GB, free: 15.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.4398, allocations: 289.3 kB / 0.5601 GB, free: 15.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/0.4403, allocations: 389.1 kB / 0.5605 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4403, allocations: 0 / 0.5605 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006464/0.4409, allocations: 389.9 kB / 0.5608 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4409, allocations: 8.516 kB / 0.5609 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.4409, allocations: 8 kB / 0.5609 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.441, allocations: 19.97 kB / 0.5609 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.4412, allocations: 91.59 kB / 0.561 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.4413, allocations: 9.969 kB / 0.561 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.4415, allocations: 40.25 kB / 0.561 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.4416, allocations: 29.45 kB / 0.561 GB, free: 14.23 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.0001704/0.4417, allocations: 164.2 kB / 0.5612 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.23e-05/0.4418, allocations: 44.33 kB / 0.5612 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.4423, allocations: 244.3 kB / 0.5615 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4423, allocations: 3.938 kB / 0.5615 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4423, allocations: 0 / 0.5615 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.4423, allocations: 0.7969 kB / 0.5615 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.4429, allocations: 0.5111 MB / 0.562 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4429, allocations: 4.5 kB / 0.562 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.443, allocations: 0.8438 kB / 0.562 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.443, allocations: 3.984 kB / 0.562 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.443, allocations: 0 / 0.562 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.443, allocations: 8.5 kB / 0.562 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.443, allocations: 0 / 0.562 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.4431, allocations: 106 kB / 0.5621 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.4432, allocations: 46.48 kB / 0.5621 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.4432, allocations: 4.75 kB / 0.5621 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.296e-05/0.4433, allocations: 1.312 kB / 0.5621 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.4434, allocations: 384 / 0.5622 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.4434, allocations: 3.938 kB / 0.5622 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004433/0.4438, allocations: 364.6 kB / 0.5625 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4438, allocations: 0 / 0.5625 GB, free: 12.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006077/0.4444, allocations: 179.6 kB / 0.5627 GB, free: 12.62 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.0009121/0.4453, allocations: 0.853 MB / 0.5635 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003232/0.4456, allocations: 158.8 kB / 0.5637 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4456, allocations: 4 kB / 0.5637 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.608e-05/0.4457, allocations: 5.781 kB / 0.5637 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.4462, allocations: 91.75 kB / 0.5638 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.4506, allocations: 3.486 MB / 0.5672 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.4511, allocations: 0.7827 MB / 0.5679 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002919/0.4514, allocations: 97.08 kB / 0.568 GB, free: 7.168 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.4516, allocations: 138 kB / 0.5681 GB, free: 7.047 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4516, allocations: 4 kB / 0.5682 GB, free: 7.043 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03482/0.4864, allocations: 10.65 MB / 0.5786 GB, free: 12.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.08, allocations: 7.75 kB / 0.5786 GB, free: 12.62 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: 14.93500426504761] Failed to read output from testmodel.py, exit status != 0: 12.25175307795871 12.280503711 11.84712464 Calling exit ...