Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.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.001842/0.001842, allocations: 101.4 kB / 16.45 MB, free: 6.5 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.002253/0.002253, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.381/1.381, allocations: 230.6 MB / 252.8 MB, free: 9.008 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.132/0.132, allocations: 23.89 MB / 332.7 MB, free: 12.33 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,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",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.00189/0.00189, allocations: 63.89 kB / 466 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3, allocations: 59.84 MB / 0.5136 GB, free: 8.871 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): time 0.0324/0.3324, allocations: 24.23 MB / 0.5372 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.344, allocations: 9.236 MB / 0.5462 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004229/0.3444, allocations: 11.88 kB / 0.5462 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006133/0.345, allocations: 223.8 kB / 0.5465 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008894/0.3459, allocations: 361.1 kB / 0.5468 GB, free: 7.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003329/0.3492, allocations: 1.426 MB / 0.5482 GB, free: 6.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009075/0.3502, allocations: 0.6674 MB / 0.5489 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.3505, allocations: 197.5 kB / 0.549 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003504/0.3508, allocations: 334.4 kB / 0.5494 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004506/0.3513, allocations: 349.6 kB / 0.5497 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.864e-05/0.3513, allocations: 36 kB / 0.5497 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.3532, allocations: 0.8264 MB / 0.5505 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.3534, allocations: 124.6 kB / 0.5507 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.3537, allocations: 259.4 kB / 0.5509 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002449/0.3561, allocations: 1.531 MB / 0.5524 GB, free: 2.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3561, allocations: 0 / 0.5524 GB, free: 2.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3561, allocations: 0 / 0.5524 GB, free: 2.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.3561, allocations: 4.703 kB / 0.5524 GB, free: 2.281 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001467/0.3576, allocations: 0.9583 MB / 0.5533 GB, free: 1.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3576, allocations: 12.03 kB / 0.5533 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.431e-05/0.3577, allocations: 66.25 kB / 0.5534 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007696/0.3585, allocations: 158.8 kB / 0.5536 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006413/0.3591, allocations: 463.1 kB / 0.554 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.3591, allocations: 25.03 kB / 0.554 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.422e-05/0.3592, allocations: 36.5 kB / 0.5541 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008527/0.3601, allocations: 0.5255 MB / 0.5546 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.3601, allocations: 11.92 kB / 0.5546 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/0.3601, allocations: 8.656 kB / 0.5546 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.3602, allocations: 16 kB / 0.5546 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.3614, allocations: 0.8019 MB / 0.5554 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/0.3639, allocations: 1.881 MB / 0.5572 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.3644, allocations: 209.6 kB / 0.5574 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.3646, allocations: 123.1 kB / 0.5575 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00338/0.368, allocations: 2.714 MB / 0.5602 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.368, allocations: 34.56 kB / 0.5602 GB, free: 10.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.368, allocations: 0 / 0.5602 GB, free: 10.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006139/0.3686, allocations: 298.3 kB / 0.5605 GB, free: 10.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.3687, allocations: 56.11 kB / 0.5606 GB, free: 10.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.3692, allocations: 473 kB / 0.561 GB, free: 9.836 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.3692, allocations: 34.45 kB / 0.5611 GB, free: 9.797 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.3695, allocations: 305.3 kB / 0.5613 GB, free: 9.516 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.3695, allocations: 70 kB / 0.5614 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.3697, allocations: 93.61 kB / 0.5615 GB, free: 9.363 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3698, allocations: 361.4 kB / 0.5618 GB, free: 9.016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.37, allocations: 86.28 kB / 0.5619 GB, free: 8.945 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.3704, allocations: 366.2 kB / 0.5623 GB, free: 8.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/0.371, allocations: 0.4912 MB / 0.5628 GB, free: 7.875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.371, allocations: 4 kB / 0.5628 GB, free: 7.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007889/0.3718, allocations: 489.4 kB / 0.5632 GB, free: 7.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3718, allocations: 12.03 kB / 0.5632 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.3718, allocations: 12.84 kB / 0.5632 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.3719, allocations: 12 kB / 0.5633 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.3722, allocations: 108.1 kB / 0.5634 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.3722, allocations: 17.77 kB / 0.5634 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.3725, allocations: 60.27 kB / 0.5634 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.3725, allocations: 37.88 kB / 0.5635 GB, free: 7.191 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0001919/0.3727, allocations: 176.2 kB / 0.5636 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.3728, allocations: 52.38 kB / 0.5637 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007492/0.3736, allocations: 399.9 kB / 0.5641 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3736, allocations: 0 / 0.5641 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3736, allocations: 3.938 kB / 0.5641 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3736, allocations: 4.547 kB / 0.5641 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000897/0.3745, allocations: 0.7182 MB / 0.5648 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3745, allocations: 3.938 kB / 0.5648 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.226e-05/0.3745, allocations: 19.92 kB / 0.5648 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3745, allocations: 0 / 0.5648 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3746, allocations: 8 kB / 0.5648 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3746, allocations: 0 / 0.5648 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3746, allocations: 4 kB / 0.5648 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.3748, allocations: 197.1 kB / 0.565 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.375, allocations: 136.7 kB / 0.5651 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.375, allocations: 12.08 kB / 0.5651 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.3751, allocations: 7.938 kB / 0.5652 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.3752, allocations: 15.98 kB / 0.5652 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.3752, allocations: 0 / 0.5652 GB, free: 5.344 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004755/0.3756, allocations: 418.8 kB / 0.5656 GB, free: 4.938 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3756, allocations: 0 / 0.5656 GB, free: 4.938 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007885/0.3764, allocations: 247.1 kB / 0.5658 GB, free: 4.695 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.001135/0.3776, allocations: 1.049 MB / 0.5668 GB, free: 3.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004275/0.378, allocations: 226 kB / 0.567 GB, free: 3.379 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.378, allocations: 4.062 kB / 0.567 GB, free: 3.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.093e-05/0.378, allocations: 27.92 kB / 0.5671 GB, free: 3.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005666/0.3786, allocations: 113.4 kB / 0.5672 GB, free: 3.238 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/0.3835, allocations: 4.145 MB / 0.5712 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.3839, allocations: 0.8152 MB / 0.572 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003633/0.3843, allocations: 140.3 kB / 0.5722 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.3845, allocations: 171.4 kB / 0.5723 GB, free: 13.57 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3845, allocations: 0 / 0.5723 GB, free: 13.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03756/0.4221, allocations: 13.33 MB / 0.5853 GB, free: 344 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.523/8.945, allocations: 0 / 0.5853 GB, free: 344 kB / 430.1 MB " [Timeout remaining time 651] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.471901383949444] Failed to read output from testmodel.py, exit status != 0: 9.022336886031553 9.048205522 8.687304481 Calling exit ...