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.001578/0.001578, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001963/0.001963, allocations: 216.8 kB / 22.25 MB, free: 5.246 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 MB, free: 7.801 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.1479/0.1479, allocations: 23.99 MB / 336.4 MB, free: 10.84 MB / 270.1 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: 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.002325/0.002325, allocations: 63.89 kB / 471.3 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3546, allocations: 59.89 MB / 0.5187 GB, free: 9.465 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.07245/0.427, allocations: 23.9 MB / 0.5421 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00868/0.4357, allocations: 5.56 MB / 0.5475 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005333/0.4362, allocations: 19.88 kB / 0.5475 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006137/0.4368, allocations: 136 kB / 0.5476 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009443/0.4378, allocations: 256.1 kB / 0.5479 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.4411, allocations: 0.9776 MB / 0.5488 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009221/0.442, allocations: 0.5153 MB / 0.5493 GB, free: 8.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003368/0.4424, allocations: 161.4 kB / 0.5495 GB, free: 8.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.4427, allocations: 251.3 kB / 0.5497 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.4431, allocations: 258.8 kB / 0.55 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.406e-05/0.4432, allocations: 28 kB / 0.55 GB, free: 8.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.4449, allocations: 0.5201 MB / 0.5505 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.445, allocations: 100.8 kB / 0.5506 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.4452, allocations: 164.6 kB / 0.5508 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.4471, allocations: 1.09 MB / 0.5518 GB, free: 6.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4471, allocations: 0 / 0.5518 GB, free: 6.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4471, allocations: 4 kB / 0.5518 GB, free: 6.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.4471, allocations: 0 / 0.5518 GB, free: 6.422 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.001235/0.4484, allocations: 0.7331 MB / 0.5526 GB, free: 5.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4484, allocations: 12.03 kB / 0.5526 GB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.801e-05/0.4485, allocations: 68.36 kB / 0.5526 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000543/0.449, allocations: 107.4 kB / 0.5527 GB, free: 5.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000667/0.4497, allocations: 328.5 kB / 0.553 GB, free: 5.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.4497, allocations: 21.03 kB / 0.5531 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.219e-05/0.4498, allocations: 31.88 kB / 0.5531 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007457/0.4506, allocations: 447.4 kB / 0.5535 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.4506, allocations: 0.7031 kB / 0.5535 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.4506, allocations: 19.98 kB / 0.5535 GB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.4506, allocations: 4 kB / 0.5535 GB, free: 4.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009799/0.4516, allocations: 0.5728 MB / 0.5541 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.4542, allocations: 1.683 MB / 0.5558 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.4545, allocations: 132.9 kB / 0.5559 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.4547, allocations: 76.92 kB / 0.556 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002043/0.4567, allocations: 0.9064 MB / 0.5568 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.4567, allocations: 35.27 kB / 0.5569 GB, free: 1.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.4567, allocations: 0 / 0.5569 GB, free: 1.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004604/0.4572, allocations: 190.3 kB / 0.5571 GB, free: 1.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.4573, allocations: 60.14 kB / 0.5571 GB, free: 1.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/0.4579, allocations: 443.1 kB / 0.5575 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.4579, allocations: 25.7 kB / 0.5576 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.4581, allocations: 275 kB / 0.5578 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.4582, allocations: 31.5 kB / 0.5578 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.4583, allocations: 79.77 kB / 0.5579 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.4585, allocations: 347.5 kB / 0.5583 GB, free: 276 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.4586, allocations: 74.19 kB / 0.5583 GB, free: 212 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.459, allocations: 286.1 kB / 0.5586 GB, free: 15.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.4595, allocations: 392.9 kB / 0.559 GB, free: 15.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4595, allocations: 0 / 0.559 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006782/0.4602, allocations: 401.9 kB / 0.5594 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.4602, allocations: 8.703 kB / 0.5594 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.4602, allocations: 8 kB / 0.5594 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.4602, allocations: 12 kB / 0.5594 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.4605, allocations: 91.78 kB / 0.5595 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/0.4606, allocations: 13.3 kB / 0.5595 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.4608, allocations: 44.89 kB / 0.5595 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.993e-05/0.4609, allocations: 28.7 kB / 0.5596 GB, free: 14.81 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.0001986/0.4611, allocations: 168.5 kB / 0.5597 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.4611, allocations: 40.42 kB / 0.5598 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.4617, allocations: 240.5 kB / 0.56 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4617, allocations: 3.938 kB / 0.56 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4617, allocations: 0 / 0.56 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4617, allocations: 4.75 kB / 0.56 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.4623, allocations: 496.8 kB / 0.5605 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4623, allocations: 0 / 0.5605 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.4624, allocations: 9.344 kB / 0.5605 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4624, allocations: 3.984 kB / 0.5605 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.4624, allocations: 3.938 kB / 0.5605 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4624, allocations: 0 / 0.5605 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4624, allocations: 0.6562 kB / 0.5605 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.4625, allocations: 113.3 kB / 0.5606 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.4626, allocations: 42.83 kB / 0.5606 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.4627, allocations: 8.469 kB / 0.5606 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.464e-05/0.4628, allocations: 4.812 kB / 0.5606 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.4628, allocations: 4.703 kB / 0.5606 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.4628, allocations: 0 / 0.5606 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004654/0.4633, allocations: 359.9 kB / 0.561 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4633, allocations: 0 / 0.561 GB, free: 13.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006459/0.4639, allocations: 175.8 kB / 0.5612 GB, free: 13.2 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.0009533/0.4649, allocations: 0.8496 MB / 0.562 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000356/0.4652, allocations: 157.7 kB / 0.5621 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.4653, allocations: 0 / 0.5621 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.738e-05/0.4653, allocations: 7.234 kB / 0.5621 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.4658, allocations: 97.88 kB / 0.5622 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/0.4705, allocations: 3.47 MB / 0.5656 GB, free: 8.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.4707, allocations: 184.1 kB / 0.5658 GB, free: 8.457 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003573/0.471, allocations: 93.73 kB / 0.5659 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.4713, allocations: 133.3 kB / 0.566 GB, free: 8.262 MB / 414.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4713, allocations: 0 / 0.566 GB, free: 8.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04402/0.5153, allocations: 11.38 MB / 0.5771 GB, free: 13.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12, allocations: 11.03 kB / 0.5771 GB, free: 13.16 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.772420745808631] Failed to read output from testmodel.py, exit status != 0: 12.10973599087447 12.13808943 11.685840766 Calling exit ...