Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference.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.0006612/0.0006612, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009654/0.001627, allocations: 435.8 kB / 10.31 MB, free: 384 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.0007404/0.0007404, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000973/0.001713, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.9736/0.9736, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08588/1.059, allocations: 53.66 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.7354/0.7354, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02542/0.7608, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.Diazoxon.Diazoxon_Kretschmann2011_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.158e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference): time 0.002498/0.00252, allocations: 1.937 MB / 0.5464 GB, free: 28.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007934/0.003314, allocations: 0.5638 MB / 0.5469 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.003371, allocations: 4 kB / 0.5469 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.567e-05/0.003427, allocations: 11.86 kB / 0.5469 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.003672, allocations: 75.47 kB / 0.547 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.003841, allocations: 63.77 kB / 0.5471 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.004032, allocations: 168 kB / 0.5472 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.00407, allocations: 5.969 kB / 0.5472 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.004247, allocations: 111.8 kB / 0.5473 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.004455, allocations: 83.75 kB / 0.5474 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.004483, allocations: 8 kB / 0.5474 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.433e-05/0.004507, allocations: 11.94 kB / 0.5474 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.004557, allocations: 19.94 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.004606, allocations: 31.94 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.004737, allocations: 71.75 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.004751, allocations: 0 / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.004753, allocations: 0 / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.004765, allocations: 0 / 0.5476 GB, free: 27.39 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.0005757/0.005341, allocations: 396.1 kB / 0.5479 GB, free: 26.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.005369, allocations: 8.031 kB / 0.5479 GB, free: 26.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.005411, allocations: 12.92 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.005551, allocations: 158.8 kB / 0.5481 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.005572, allocations: 8.375 kB / 0.5481 GB, free: 26.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.005594, allocations: 8.375 kB / 0.5481 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.005736, allocations: 77.02 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.005744, allocations: 3.938 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.005754, allocations: 4 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.005759, allocations: 4 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.029e-05/0.005809, allocations: 19.98 kB / 0.5482 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.006095, allocations: 201.8 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.006222, allocations: 118.9 kB / 0.5485 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.349e-05/0.006255, allocations: 15.98 kB / 0.5485 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.00627, allocations: 4 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/0.006389, allocations: 94.22 kB / 0.5486 GB, free: 26.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.00639, allocations: 4 kB / 0.5486 GB, free: 26.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001636/0.006554, allocations: 89.59 kB / 0.5487 GB, free: 26.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.006576, allocations: 51.41 kB / 0.5488 GB, free: 26.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.815e-05/0.006654, allocations: 150.6 kB / 0.5489 GB, free: 25.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.006668, allocations: 29.7 kB / 0.549 GB, free: 25.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.006701, allocations: 100.1 kB / 0.549 GB, free: 25.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.006731, allocations: 43.61 kB / 0.5491 GB, free: 25.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.006782, allocations: 37.66 kB / 0.5491 GB, free: 25.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.387e-05/0.006816, allocations: 326.8 kB / 0.5494 GB, free: 25.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.457e-05/0.00686, allocations: 40.75 kB / 0.5495 GB, free: 25.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.424e-05/0.006925, allocations: 173.2 kB / 0.5496 GB, free: 25.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.007002, allocations: 88.03 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007004, allocations: 0 / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001294/0.007133, allocations: 147.8 kB / 0.5499 GB, free: 24.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.007161, allocations: 36.52 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.007165, allocations: 0 / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.007173, allocations: 0 / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.007305, allocations: 35.91 kB / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.007308, allocations: 0 / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.623e-05/0.007395, allocations: 20.05 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.007405, allocations: 7.969 kB / 0.55 GB, free: 24.69 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.234e-05/0.007457, allocations: 120.6 kB / 0.5501 GB, free: 24.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.007476, allocations: 15.94 kB / 0.5501 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.007607, allocations: 98.36 kB / 0.5502 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.007609, allocations: 3.984 kB / 0.5502 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.007611, allocations: 0 / 0.5502 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.007615, allocations: 0 / 0.5502 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.859e-05/0.007703, allocations: 101.8 kB / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.007705, allocations: 4 kB / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.007812, allocations: 27.98 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.007829, allocations: 7.953 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.007832, allocations: 3.938 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.007845, allocations: 0 / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.007847, allocations: 0 / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.007851, allocations: 6.734 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.008016, allocations: 138.6 kB / 0.5505 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.008039, allocations: 7.938 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.008109, allocations: 12.02 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.00815, allocations: 15.97 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.008158, allocations: 4 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.446e-05/0.008193, allocations: 38.52 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008193, allocations: 0 / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001714/0.008364, allocations: 32 kB / 0.5506 GB, free: 24.01 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 7.5e-05/0.008439, allocations: 84.41 kB / 0.5507 GB, free: 23.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.008584, allocations: 150.6 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.008588, allocations: 4 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.99e-05/0.008638, allocations: 40.78 kB / 0.5508 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.00882, allocations: 62.69 kB / 0.5509 GB, free: 23.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.0125, allocations: 350.2 kB / 0.5512 GB, free: 23.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.234e-05/0.01253, allocations: 75.83 kB / 0.5513 GB, free: 23.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.301e-05/0.01261, allocations: 17.48 kB / 0.5513 GB, free: 23.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.01274, allocations: 87.34 kB / 0.5514 GB, free: 23.08 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01274, allocations: 0 / 0.5514 GB, free: 23.08 MB / 410.7 MB Notification: Performance of Templates: time 0.004764/0.01751, allocations: 2.737 MB / 0.5541 GB, free: 20.41 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0763887958601117]