Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.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.005301/0.005301, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.005695/0.005695, allocations: 173.9 kB / 22.46 MB, free: 2.102 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 1.585/1.585, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 1.35/1.35, allocations: 292.9 MB / 0.5392 GB, free: 49.82 MB / 410.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/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(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.6999 GB, free: 8.539 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.765e-05, allocations: 5.094 kB / 0.6999 GB, free: 8.535 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine): time 0.002595/0.002623, allocations: 1.826 MB / 0.7017 GB, free: 6.691 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.003786, allocations: 0.5537 MB / 0.7022 GB, free: 6.133 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.003915, allocations: 0 / 0.7022 GB, free: 6.133 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.004045, allocations: 15.86 kB / 0.7023 GB, free: 6.117 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004386/0.004483, allocations: 63.55 kB / 0.7023 GB, free: 6.055 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.004675, allocations: 75.58 kB / 0.7024 GB, free: 5.984 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.004886, allocations: 159.3 kB / 0.7025 GB, free: 5.828 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.004937, allocations: 13.28 kB / 0.7025 GB, free: 5.816 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.005091, allocations: 95.78 kB / 0.7026 GB, free: 5.723 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.005335, allocations: 71.84 kB / 0.7027 GB, free: 5.652 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.00537, allocations: 4 kB / 0.7027 GB, free: 5.648 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.784e-05/0.005397, allocations: 8 kB / 0.7027 GB, free: 5.641 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.005459, allocations: 39.83 kB / 0.7028 GB, free: 5.602 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.005526, allocations: 39.91 kB / 0.7028 GB, free: 5.562 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.005673, allocations: 99.67 kB / 0.7029 GB, free: 5.465 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.005676, allocations: 0 / 0.7029 GB, free: 5.465 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005677, allocations: 0 / 0.7029 GB, free: 5.465 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.005683, allocations: 3.938 kB / 0.7029 GB, free: 5.461 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007909/0.006474, allocations: 399.4 kB / 0.7033 GB, free: 5.035 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.006514, allocations: 12.03 kB / 0.7033 GB, free: 5.023 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.006585, allocations: 12.84 kB / 0.7033 GB, free: 5.012 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.006797, allocations: 154.2 kB / 0.7034 GB, free: 4.836 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.006816, allocations: 384 / 0.7034 GB, free: 4.836 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.006847, allocations: 12.38 kB / 0.7035 GB, free: 4.824 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.007106, allocations: 94.17 kB / 0.7035 GB, free: 4.727 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.007117, allocations: 7.938 kB / 0.7036 GB, free: 4.719 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.007132, allocations: 7.938 kB / 0.7036 GB, free: 4.711 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.007137, allocations: 4 kB / 0.7036 GB, free: 4.707 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.007428, allocations: 91.84 kB / 0.7037 GB, free: 4.617 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.007891, allocations: 272.4 kB / 0.7039 GB, free: 4.32 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.008259, allocations: 134.4 kB / 0.704 GB, free: 4.18 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.008403, allocations: 52.81 kB / 0.7041 GB, free: 4.125 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.00842, allocations: 4 kB / 0.7041 GB, free: 4.121 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002483/0.008668, allocations: 115.3 kB / 0.7042 GB, free: 3.996 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.008669, allocations: 0 / 0.7042 GB, free: 3.996 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005518/0.009221, allocations: 197.6 kB / 0.7044 GB, free: 3.797 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.009249, allocations: 51.41 kB / 0.7044 GB, free: 3.734 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.009369, allocations: 155.6 kB / 0.7046 GB, free: 3.574 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.009386, allocations: 37.7 kB / 0.7046 GB, free: 3.531 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.009431, allocations: 100.1 kB / 0.7047 GB, free: 3.43 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.009461, allocations: 47.62 kB / 0.7048 GB, free: 3.383 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.009526, allocations: 41.7 kB / 0.7048 GB, free: 3.336 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.009573, allocations: 326.8 kB / 0.7051 GB, free: 3.008 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.009745, allocations: 77.66 kB / 0.7052 GB, free: 2.926 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.009943, allocations: 202.1 kB / 0.7054 GB, free: 2.691 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.01025, allocations: 142.5 kB / 0.7055 GB, free: 2.543 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01025, allocations: 3.938 kB / 0.7055 GB, free: 2.539 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004044/0.01066, allocations: 243.5 kB / 0.7058 GB, free: 2.285 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.01068, allocations: 29.7 kB / 0.7058 GB, free: 2.25 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.01069, allocations: 4 kB / 0.7058 GB, free: 2.246 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.01071, allocations: 0 / 0.7058 GB, free: 2.246 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.01087, allocations: 31.91 kB / 0.7058 GB, free: 2.215 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.01088, allocations: 0 / 0.7058 GB, free: 2.215 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.01106, allocations: 27.92 kB / 0.7058 GB, free: 2.188 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.01108, allocations: 224 / 0.7058 GB, free: 2.188 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 7.925e-05/0.01116, allocations: 130.4 kB / 0.706 GB, free: 2.051 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.01118, allocations: 19.84 kB / 0.706 GB, free: 2.031 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004844/0.01167, allocations: 174.2 kB / 0.7062 GB, free: 1.859 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.01167, allocations: 4 kB / 0.7062 GB, free: 1.855 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.01167, allocations: 0 / 0.7062 GB, free: 1.855 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01168, allocations: 3.984 kB / 0.7062 GB, free: 1.852 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.0118, allocations: 149.2 kB / 0.7063 GB, free: 1.676 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.0118, allocations: 3.938 kB / 0.7063 GB, free: 1.672 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.01195, allocations: 23.98 kB / 0.7063 GB, free: 1.648 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.01196, allocations: 0 / 0.7063 GB, free: 1.648 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.01197, allocations: 4 kB / 0.7063 GB, free: 1.645 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.46e-05/0.01199, allocations: 3.984 kB / 0.7063 GB, free: 1.641 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01199, allocations: 4 kB / 0.7063 GB, free: 1.637 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/0.0125, allocations: 247.6 kB / 0.7066 GB, free: 1.379 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.01253, allocations: 23.88 kB / 0.7066 GB, free: 1.355 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.01256, allocations: 7.984 kB / 0.7066 GB, free: 1.348 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.01269, allocations: 11.98 kB / 0.7066 GB, free: 1.336 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.01275, allocations: 11.98 kB / 0.7066 GB, free: 1.324 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.01276, allocations: 11.98 kB / 0.7066 GB, free: 1.312 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.984e-05/0.01284, allocations: 125.8 kB / 0.7068 GB, free: 1.191 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01284, allocations: 0 / 0.7068 GB, free: 1.191 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002209/0.01306, allocations: 32 kB / 0.7068 GB, free: 1.16 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001206/0.01319, allocations: 107.2 kB / 0.7069 GB, free: 1.043 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003991/0.01358, allocations: 213 kB / 0.7071 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01359, allocations: 0 / 0.7071 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.01375, allocations: 59.89 kB / 0.7072 GB, free: 0.7578 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.01405, allocations: 47.89 kB / 0.7072 GB, free: 0.7109 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006068/0.01466, allocations: 301.5 kB / 0.7075 GB, free: 400 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.082e-05/0.01471, allocations: 97.8 kB / 0.7076 GB, free: 284 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.734e-05/0.0148, allocations: 21.48 kB / 0.7076 GB, free: 260 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.296e-05/0.01485, allocations: 20.5 kB / 0.7076 GB, free: 240 kB / 410.8 MB Notification: Performance of SimCode: time 4.5e-07/0.01485, allocations: 0 / 0.7076 GB, free: 240 kB / 410.8 MB Notification: Performance of Templates: time 0.006747/0.0216, allocations: 2.5 MB / 0.7101 GB, free: 13.84 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.711079178843647]