Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.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.0007195/0.0007195, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007499/0.0007499, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8657/0.8657, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.07606/0.07606, allocations: 17.46 MB / 276.6 MB, free: 11.76 MB / 266.7 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.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 411.6 MB, free: 256 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.658e-05, allocations: 2.281 kB / 411.6 MB, free: 252 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.002627/0.002644, allocations: 2.813 MB / 414.4 MB, free: 13.41 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004363/0.007007, allocations: 5.541 MB / 420 MB, free: 7.848 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.00718, allocations: 11.88 kB / 420 MB, free: 7.836 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.007529, allocations: 138.8 kB / 420.1 MB, free: 7.699 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.008011, allocations: 265.9 kB / 420.4 MB, free: 7.438 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.009492, allocations: 1.001 MB / 421.4 MB, free: 6.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004884/0.009981, allocations: 0.5023 MB / 421.9 MB, free: 5.926 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.01018, allocations: 136.7 kB / 422 MB, free: 5.789 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.01039, allocations: 307.4 kB / 422.3 MB, free: 5.488 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.01063, allocations: 211.5 kB / 422.5 MB, free: 5.281 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.01067, allocations: 24 kB / 422.5 MB, free: 5.258 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007134/0.01138, allocations: 0.5301 MB / 423.1 MB, free: 4.727 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.291e-05/0.01146, allocations: 83.69 kB / 423.2 MB, free: 4.645 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.222e-05/0.01156, allocations: 123.7 kB / 423.3 MB, free: 4.523 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008991/0.01245, allocations: 1.097 MB / 424.4 MB, free: 3.422 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.01246, allocations: 4 kB / 424.4 MB, free: 3.418 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01246, allocations: 0 / 424.4 MB, free: 3.418 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.01246, allocations: 3.938 kB / 424.4 MB, free: 3.414 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006961/0.01316, allocations: 0.691 MB / 425.1 MB, free: 2.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.0132, allocations: 8.031 kB / 425.1 MB, free: 2.684 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/0.01325, allocations: 62.73 kB / 425.1 MB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002927/0.01355, allocations: 108.6 kB / 425.2 MB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.01392, allocations: 313.5 kB / 425.5 MB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.01394, allocations: 12.88 kB / 425.6 MB, free: 2.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.01397, allocations: 28.38 kB / 425.6 MB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.01435, allocations: 390.9 kB / 426 MB, free: 1.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.01436, allocations: 0 / 426 MB, free: 1.727 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.01438, allocations: 4 kB / 426 MB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.01439, allocations: 8 kB / 426 MB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.01488, allocations: 0.5356 MB / 426.5 MB, free: 1.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.01596, allocations: 1.328 MB / 427.8 MB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.01618, allocations: 162.4 kB / 428 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.01629, allocations: 88.81 kB / 428.1 MB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/0.0173, allocations: 0.9364 MB / 429 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.01732, allocations: 34.56 kB / 429.1 MB, free: 14.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.01732, allocations: 0 / 429.1 MB, free: 14.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000307/0.01762, allocations: 221.3 kB / 429.3 MB, free: 14.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.01765, allocations: 55.41 kB / 429.3 MB, free: 14.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.0179, allocations: 385.5 kB / 429.7 MB, free: 13.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.01791, allocations: 25.7 kB / 429.7 MB, free: 13.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.01802, allocations: 227.8 kB / 430 MB, free: 13.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.01804, allocations: 51.58 kB / 430 MB, free: 13.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.0181, allocations: 69.64 kB / 430.1 MB, free: 13.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.271e-05/0.01819, allocations: 350.7 kB / 430.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.435e-05/0.01827, allocations: 59.97 kB / 430.5 MB, free: 13.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.01841, allocations: 240.8 kB / 430.7 MB, free: 12.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.01867, allocations: 352.5 kB / 431.1 MB, free: 12.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01867, allocations: 7.938 kB / 431.1 MB, free: 12.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003259/0.019, allocations: 344.9 kB / 431.4 MB, free: 11.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.01901, allocations: 8 kB / 431.4 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.01902, allocations: 8 kB / 431.4 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01903, allocations: 11.98 kB / 431.4 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.01916, allocations: 72.59 kB / 431.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.01917, allocations: 11.94 kB / 431.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.01927, allocations: 47.73 kB / 431.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.0193, allocations: 20 kB / 431.6 MB, free: 11.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * 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.0001009/0.0194, allocations: 165.6 kB / 431.7 MB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.01943, allocations: 35.77 kB / 431.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.01974, allocations: 289.6 kB / 432.1 MB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.01975, allocations: 4 kB / 432.1 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.01975, allocations: 7.984 kB / 432.1 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.01976, allocations: 0 / 432.1 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003991/0.02015, allocations: 0.5758 MB / 432.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.02016, allocations: 0 / 432.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.02018, allocations: 19.92 kB / 432.7 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.02019, allocations: 3.938 kB / 432.7 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.0202, allocations: 8 kB / 432.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.0202, allocations: 192 / 432.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.0202, allocations: 8 kB / 432.7 MB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.02032, allocations: 165.1 kB / 432.8 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.02037, allocations: 39.75 kB / 432.9 MB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.0204, allocations: 11.88 kB / 432.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.845e-05/0.02044, allocations: 11.98 kB / 432.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.02046, allocations: 4 kB / 432.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.02046, allocations: 0 / 432.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002077/0.02067, allocations: 319.1 kB / 433.2 MB, free: 9.992 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02067, allocations: 0 / 433.2 MB, free: 9.992 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003061/0.02098, allocations: 171.4 kB / 433.4 MB, free: 9.824 MB / 410.7 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.0005511/0.02153, allocations: 0.924 MB / 434.3 MB, free: 8.852 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.02172, allocations: 153.3 kB / 434.5 MB, free: 8.703 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02172, allocations: 8.062 kB / 434.5 MB, free: 8.695 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.779e-05/0.02175, allocations: 27.92 kB / 434.5 MB, free: 8.668 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.02206, allocations: 109.3 kB / 434.6 MB, free: 8.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.02435, allocations: 3.215 MB / 437.8 MB, free: 5.062 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.32e-05/0.02444, allocations: 165.2 kB / 438 MB, free: 4.883 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.02461, allocations: 93.19 kB / 438.1 MB, free: 4.797 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.02472, allocations: 128.4 kB / 438.2 MB, free: 4.668 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02472, allocations: 0 / 438.2 MB, free: 4.668 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1465/0.1712, allocations: 10.98 MB / 449.2 MB, free: 69.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.431/6.602, allocations: 4.281 kB / 449.2 MB, free: 69.51 MB / 410.7 MB " [Timeout remaining time 653] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-07 Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.35564183536917] Failed to read output from testmodel.py, exit status != 0: 6.683188940398395 6.691030539 6.677188186 Calling exit ...