Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08832/0.08832, allocations: 15.53 MB / 318.9 MB, free: 13.62 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 62.14 kB / 446.1 MB, free: 47.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09468/0.09661, allocations: 56.56 MB / 0.4909 GB, free: 20.67 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.CheckSubstancesData.SimpleReaction): time 0.003621/0.1002, allocations: 2.993 MB / 0.4938 GB, free: 18.31 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005381/0.1056, allocations: 6.288 MB / 0.4999 GB, free: 13.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003546/0.106, allocations: 8.094 kB / 0.4999 GB, free: 13.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.1064, allocations: 155.2 kB / 0.5001 GB, free: 13.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000624/0.1071, allocations: 257.1 kB / 0.5003 GB, free: 12.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.1093, allocations: 0.9549 MB / 0.5013 GB, free: 12.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006548/0.1099, allocations: 487.4 kB / 0.5017 GB, free: 11.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.1102, allocations: 157.8 kB / 0.5019 GB, free: 11.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.1104, allocations: 222.2 kB / 0.5021 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.1107, allocations: 255.2 kB / 0.5023 GB, free: 11.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.1108, allocations: 25.66 kB / 0.5024 GB, free: 11.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.1124, allocations: 0.561 MB / 0.5029 GB, free: 11.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.307e-05/0.1124, allocations: 75.77 kB / 0.503 GB, free: 11.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.1126, allocations: 187.1 kB / 0.5032 GB, free: 10.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.1139, allocations: 1.027 MB / 0.5042 GB, free: 9.805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.114, allocations: 4 kB / 0.5042 GB, free: 9.801 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.114, allocations: 0 / 0.5042 GB, free: 9.801 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.111e-05/0.114, allocations: 0 / 0.5042 GB, free: 9.801 MB / 366.1 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.0008504/0.1148, allocations: 0.7662 MB / 0.5049 GB, free: 8.984 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1149, allocations: 11.97 kB / 0.5049 GB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004894/0.1154, allocations: 116.3 kB / 0.505 GB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.1158, allocations: 372.2 kB / 0.5054 GB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1158, allocations: 12.81 kB / 0.5054 GB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.1159, allocations: 28.12 kB / 0.5054 GB, free: 8.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004634/0.1163, allocations: 389.8 kB / 0.5058 GB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1164, allocations: 0 / 0.5058 GB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.1164, allocations: 8 kB / 0.5058 GB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.1164, allocations: 4 kB / 0.5058 GB, free: 8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006349/0.117, allocations: 0.5437 MB / 0.5063 GB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.1184, allocations: 1.411 MB / 0.5077 GB, free: 5.973 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.1187, allocations: 162.4 kB / 0.5079 GB, free: 5.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.1188, allocations: 88.83 kB / 0.508 GB, free: 5.715 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001641/0.1205, allocations: 1.904 MB / 0.5098 GB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1205, allocations: 34.56 kB / 0.5098 GB, free: 3.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.1205, allocations: 0 / 0.5098 GB, free: 3.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004138/0.1209, allocations: 221.3 kB / 0.5101 GB, free: 3.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.1209, allocations: 59.41 kB / 0.5101 GB, free: 3.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.1212, allocations: 373.5 kB / 0.5105 GB, free: 2.852 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1212, allocations: 29.7 kB / 0.5105 GB, free: 2.816 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.1213, allocations: 231.9 kB / 0.5107 GB, free: 2.586 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.1213, allocations: 51.62 kB / 0.5108 GB, free: 2.535 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.1214, allocations: 69.66 kB / 0.5108 GB, free: 2.461 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.1215, allocations: 346.8 kB / 0.5112 GB, free: 2.113 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.455e-05/0.1215, allocations: 63.95 kB / 0.5112 GB, free: 2.051 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1217, allocations: 240.8 kB / 0.5115 GB, free: 1.727 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.122, allocations: 340.5 kB / 0.5118 GB, free: 1.305 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.122, allocations: 7.984 kB / 0.5118 GB, free: 1.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004128/0.1224, allocations: 349.5 kB / 0.5121 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1224, allocations: 8 kB / 0.5121 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1224, allocations: 4 kB / 0.5121 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.1224, allocations: 12 kB / 0.5121 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.1226, allocations: 71.91 kB / 0.5122 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.1226, allocations: 19.92 kB / 0.5122 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.1228, allocations: 47.55 kB / 0.5123 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.1228, allocations: 20 kB / 0.5123 GB, free: 0.7695 MB / 366.1 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.0001085/0.1229, allocations: 165.7 kB / 0.5125 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.123, allocations: 35.77 kB / 0.5125 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000416/0.1234, allocations: 279 kB / 0.5128 GB, free: 268 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1234, allocations: 0 / 0.5128 GB, free: 268 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1234, allocations: 3.938 kB / 0.5128 GB, free: 264 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1234, allocations: 3.938 kB / 0.5128 GB, free: 260 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.1241, allocations: 0.6313 MB / 0.5134 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1241, allocations: 3.984 kB / 0.5134 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.299e-05/0.1241, allocations: 16 kB / 0.5134 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1241, allocations: 0 / 0.5134 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1241, allocations: 4.188 kB / 0.5134 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1241, allocations: 4 kB / 0.5134 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1241, allocations: 4 kB / 0.5134 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.1244, allocations: 181.2 kB / 0.5136 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.1245, allocations: 116.9 kB / 0.5137 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.006e-05/0.1245, allocations: 7.953 kB / 0.5137 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.1246, allocations: 8 kB / 0.5137 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.1247, allocations: 7.984 kB / 0.5137 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-06/0.1247, allocations: 4 kB / 0.5137 GB, free: 15.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003528/0.125, allocations: 315.1 kB / 0.514 GB, free: 14.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.125, allocations: 0 / 0.514 GB, free: 14.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005795/0.1256, allocations: 183.3 kB / 0.5142 GB, free: 14.66 MB / 382.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.0005229/0.1261, allocations: 310.3 kB / 0.5145 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.1264, allocations: 157.1 kB / 0.5146 GB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.1264, allocations: 4 kB / 0.5146 GB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.483e-05/0.1265, allocations: 32.48 kB / 0.5147 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.127, allocations: 94.38 kB / 0.5148 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009285/0.1279, allocations: 0.5787 MB / 0.5153 GB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.1283, allocations: 0.7755 MB / 0.5161 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.1284, allocations: 59.41 kB / 0.5161 GB, free: 12.58 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1284, allocations: 4 kB / 0.5162 GB, free: 12.58 MB / 382.1 MB Notification: Performance of Templates: time 0.009287/0.1377, allocations: 5.781 MB / 0.5218 GB, free: 6.828 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.45435812487267] Failed to read output from testmodel.py, exit status != 0: 0.32215610914863646 0.157899908 0.041076520000000005 Calling exit ...