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.0008806/0.0008806, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001179/0.002059, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009192/0.0009192, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001186/0.002105, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9398/0.9398, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09642/1.036, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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 0.7813/0.7813, allocations: 291.2 MB / 0.5226 GB, free: 52.91 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02992/0.8113, allocations: 21.04 MB / 0.5432 GB, free: 31.94 MB / 410.7 MB " [Timeout remaining time 179] 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 2.254e-06/2.254e-06, allocations: 4 kB / 0.5446 GB, free: 30.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.126e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.51 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine): time 0.002248/0.002269, allocations: 1.96 MB / 0.5465 GB, free: 28.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007065/0.002976, allocations: 0.5679 MB / 0.547 GB, free: 27.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.003026, allocations: 4 kB / 0.547 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.381e-05/0.00308, allocations: 15.86 kB / 0.5471 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.003301, allocations: 67.48 kB / 0.5471 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003166/0.006468, allocations: 63.77 kB / 0.5472 GB, free: 27.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.006663, allocations: 176 kB / 0.5473 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.006704, allocations: 5.969 kB / 0.5474 GB, free: 27.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.006863, allocations: 111.8 kB / 0.5475 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.007057, allocations: 79.77 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.00708, allocations: 8 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.04e-05/0.007101, allocations: 8 kB / 0.5476 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.007146, allocations: 19.94 kB / 0.5476 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.007195, allocations: 27.94 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.007317, allocations: 83.61 kB / 0.5477 GB, free: 27.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.732e-05/0.007335, allocations: 0 / 0.5477 GB, free: 27.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.007335, allocations: 0 / 0.5477 GB, free: 27.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.007352, allocations: 0 / 0.5477 GB, free: 27.31 MB / 410.7 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.0005394/0.007891, allocations: 392.1 kB / 0.5481 GB, free: 26.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.645e-05/0.007917, allocations: 8.031 kB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.00796, allocations: 20.92 kB / 0.5481 GB, free: 26.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.008094, allocations: 150.8 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.008111, allocations: 4.375 kB / 0.5482 GB, free: 26.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.008135, allocations: 12.31 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.008271, allocations: 77.02 kB / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.008279, allocations: 7.938 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.00829, allocations: 8 kB / 0.5483 GB, free: 26.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.008295, allocations: 0 / 0.5483 GB, free: 26.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.461e-05/0.00835, allocations: 19.98 kB / 0.5483 GB, free: 26.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.008614, allocations: 193.9 kB / 0.5485 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.008731, allocations: 122.9 kB / 0.5486 GB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.008762, allocations: 16.86 kB / 0.5487 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.008776, allocations: 4 kB / 0.5487 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/0.008897, allocations: 94.23 kB / 0.5488 GB, free: 26.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.008898, allocations: 0 / 0.5488 GB, free: 26.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001502/0.009048, allocations: 85.59 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.009071, allocations: 55.41 kB / 0.5489 GB, free: 25.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.172e-05/0.009143, allocations: 150.6 kB / 0.549 GB, free: 25.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.009155, allocations: 25.92 kB / 0.5491 GB, free: 25.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.009184, allocations: 104.1 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.009211, allocations: 47.55 kB / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/0.01028, allocations: 37.64 kB / 0.5492 GB, free: 25.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.01032, allocations: 330.8 kB / 0.5496 GB, free: 25.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.96e-05/0.01037, allocations: 48.53 kB / 0.5496 GB, free: 25.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.042e-05/0.01043, allocations: 154.1 kB / 0.5498 GB, free: 24.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.342e-05/0.0105, allocations: 82.97 kB / 0.5498 GB, free: 24.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.0105, allocations: 0 / 0.5498 GB, free: 24.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001233/0.01063, allocations: 151.8 kB / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.01065, allocations: 37.7 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01066, allocations: 0 / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.01067, allocations: 48 / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.0108, allocations: 31.97 kB / 0.55 GB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.01081, allocations: 7.984 kB / 0.55 GB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.355e-05/0.01089, allocations: 12 kB / 0.5501 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.0109, allocations: 7.312 kB / 0.5501 GB, free: 24.62 MB / 410.7 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 5.35e-05/0.01095, allocations: 128.5 kB / 0.5502 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.01097, allocations: 11.94 kB / 0.5502 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.0111, allocations: 94.42 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.0111, allocations: 0 / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-06/0.0111, allocations: 3.984 kB / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.0111, allocations: 0 / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.29e-05/0.0112, allocations: 105.8 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.0112, allocations: 4 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.958e-05/0.0113, allocations: 27.92 kB / 0.5504 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.01132, allocations: 7.953 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01132, allocations: 3.938 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.01133, allocations: 4 kB / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01133, allocations: 0 / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01133, allocations: 4 kB / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.0115, allocations: 135.3 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.01152, allocations: 11.94 kB / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.274e-05/0.01158, allocations: 12.02 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.01162, allocations: 19.91 kB / 0.5506 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.01163, allocations: 4 kB / 0.5506 GB, free: 24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.203e-05/0.01166, allocations: 39.94 kB / 0.5507 GB, free: 23.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01166, allocations: 0 / 0.5507 GB, free: 23.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001593/0.01182, allocations: 35.94 kB / 0.5507 GB, free: 23.93 MB / 410.7 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 8.409e-05/0.01191, allocations: 88.34 kB / 0.5508 GB, free: 23.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.01204, allocations: 145.9 kB / 0.5509 GB, free: 23.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.01205, allocations: 4 kB / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/0.0121, allocations: 44.77 kB / 0.551 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.01228, allocations: 50.59 kB / 0.551 GB, free: 23.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.01504, allocations: 354.2 kB / 0.5513 GB, free: 23.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.262e-05/0.01506, allocations: 75.83 kB / 0.5514 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.298e-05/0.01513, allocations: 13.48 kB / 0.5514 GB, free: 23.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.01522, allocations: 83.34 kB / 0.5515 GB, free: 23.01 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01522, allocations: 4 kB / 0.5515 GB, free: 23.01 MB / 410.7 MB Notification: Performance of Templates: time 0.003649/0.01887, allocations: 2.757 MB / 0.5542 GB, free: 20.32 MB / 410.7 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: 3.2114321691915393]