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.001261/0.001261, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001948/0.003209, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001421/0.001421, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001942/0.003364, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9821/0.9821, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08437/1.066, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08305/0.08305, allocations: 17.45 MB / 261.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01141/0.09446, allocations: 6.974 MB / 268.6 MB, free: 6.281 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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: translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 269.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.879e-05, allocations: 2.312 kB / 269.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.002733/0.002752, allocations: 2.949 MB / 272.8 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1275/0.1302, allocations: 3.517 MB / 276.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.1304, allocations: 14.47 kB / 276.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.1307, allocations: 105.5 kB / 276.4 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.1311, allocations: 205 kB / 276.6 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000983/0.132, allocations: 0.5662 MB / 277.2 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005257/0.1326, allocations: 0.5017 MB / 277.7 MB, free: 1.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.1328, allocations: 149.6 kB / 277.9 MB, free: 1.242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003463/0.1332, allocations: 338.5 kB / 278.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.1335, allocations: 208 kB / 278.4 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.249e-05/0.1335, allocations: 24.75 kB / 278.4 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005396/0.1341, allocations: 292.2 kB / 278.7 MB, free: 1.168 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.096e-05/0.1342, allocations: 57.66 kB / 278.8 MB, free: 1.156 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.1343, allocations: 99.31 kB / 278.9 MB, free: 1.141 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007019/0.135, allocations: 0.6126 MB / 279.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-05/0.135, allocations: 2.672 kB / 279.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.135, allocations: 0 / 279.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.135, allocations: 0 / 279.5 MB, free: 1.012 MB / 266.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.0008459/0.1359, allocations: 0.7177 MB / 280.2 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1359, allocations: 11.41 kB / 280.2 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00043/0.1363, allocations: 242.1 kB / 280.4 MB, free: 488 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.1367, allocations: 298.3 kB / 280.7 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1367, allocations: 16.66 kB / 280.7 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.1367, allocations: 22.88 kB / 280.8 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.1371, allocations: 308 kB / 281.1 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1371, allocations: 1.031 kB / 281.1 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.1371, allocations: 13.53 kB / 281.1 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.1371, allocations: 5.531 kB / 281.1 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003802/0.1375, allocations: 321.5 kB / 281.4 MB, free: 188 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.1386, allocations: 1.124 MB / 282.5 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1388, allocations: 141.8 kB / 282.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.427e-05/0.1388, allocations: 46.61 kB / 282.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009801/0.1398, allocations: 0.7836 MB / 283.5 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1398, allocations: 32.22 kB / 283.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.1398, allocations: 1.094 kB / 283.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002215/0.1401, allocations: 147.2 kB / 283.7 MB, free: 14.97 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.1401, allocations: 54.94 kB / 283.7 MB, free: 14.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.1404, allocations: 322.2 kB / 284 MB, free: 14.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1404, allocations: 30.77 kB / 284.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.1405, allocations: 208.7 kB / 284.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.1405, allocations: 49.55 kB / 284.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.108e-05/0.1406, allocations: 66.66 kB / 284.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1407, allocations: 344.7 kB / 284.7 MB, free: 14.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.104e-05/0.1408, allocations: 35.19 kB / 284.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.1409, allocations: 206.9 kB / 285 MB, free: 14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.1412, allocations: 305.7 kB / 285.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.1412, allocations: 2.062 kB / 285.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002771/0.1415, allocations: 231.6 kB / 285.5 MB, free: 13.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1415, allocations: 9.219 kB / 285.5 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.1415, allocations: 6.734 kB / 285.5 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1415, allocations: 13.31 kB / 285.5 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.1417, allocations: 99.88 kB / 285.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.1417, allocations: 10.98 kB / 285.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.1418, allocations: 35.67 kB / 285.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.1419, allocations: 19.66 kB / 285.7 MB, free: 13.62 MB / 282.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 9.173e-05/0.142, allocations: 138.7 kB / 285.8 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.142, allocations: 26.25 kB / 285.8 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.1423, allocations: 250.3 kB / 286.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1423, allocations: 5.312 kB / 286.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.1423, allocations: 1.375 kB / 286.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1423, allocations: 4.969 kB / 286.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.1427, allocations: 474.6 kB / 286.6 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1427, allocations: 2.688 kB / 286.6 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.1427, allocations: 15.09 kB / 286.6 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.1428, allocations: 34.98 kB / 286.6 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1428, allocations: 5.469 kB / 286.6 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.1428, allocations: 2.484 kB / 286.6 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.1428, allocations: 2.828 kB / 286.6 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1428, allocations: 6.25 kB / 286.6 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.1429, allocations: 140.6 kB / 286.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.1429, allocations: 3.781 kB / 286.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.537e-05/0.143, allocations: 6.25 kB / 286.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.143, allocations: 13.7 kB / 286.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.143, allocations: 3 kB / 286.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001447/0.1431, allocations: 148.2 kB / 286.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1431, allocations: 0 / 286.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004063/0.1436, allocations: 118.2 kB / 287 MB, free: 12.73 MB / 282.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.0003636/0.1439, allocations: 191 kB / 287.2 MB, free: 12.63 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.1441, allocations: 130.1 kB / 287.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/0.1441, allocations: 5.062 kB / 287.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.993e-05/0.1442, allocations: 24.12 kB / 287.4 MB, free: 12.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005735/0.1447, allocations: 0.7442 MB / 288.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.1482, allocations: 0.5447 MB / 288.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.534e-05/0.1483, allocations: 87.28 kB / 288.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.1485, allocations: 82.09 kB / 288.8 MB, free: 11.35 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.1487, allocations: 128 kB / 289 MB, free: 11.3 MB / 282.7 MB Notification: Performance of SimCode: time 1.432e-06/0.1487, allocations: 0 / 289 MB, free: 11.3 MB / 282.7 MB Notification: Performance of Templates: time 0.007582/0.1563, allocations: 5.233 MB / 294.2 MB, free: 9.215 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.635332515463233]