Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.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.0006656/0.0006656, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008451/0.001511, allocations: 443.8 kB / 10.3 MB, free: 400 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.0007022/0.0007022, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009167/0.001619, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9838/0.9838, allocations: 177.2 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08229/1.066, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.7451/0.7451, allocations: 291.2 MB / 0.5225 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0314/0.7765, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.Radium226.Radium226,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5444 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.433e-05, allocations: 10.19 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226): time 0.002825/0.00285, allocations: 1.954 MB / 0.5464 GB, free: 28.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008649/0.003715, allocations: 0.573 MB / 0.5469 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.003777, allocations: 4 kB / 0.5469 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.635e-05/0.003833, allocations: 11.86 kB / 0.5469 GB, free: 28.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.004117, allocations: 63.53 kB / 0.547 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.004294, allocations: 71.77 kB / 0.5471 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.004509, allocations: 164 kB / 0.5472 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.586e-05/0.004555, allocations: 13.89 kB / 0.5472 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.004751, allocations: 123.7 kB / 0.5474 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.004971, allocations: 67.84 kB / 0.5474 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.005001, allocations: 8 kB / 0.5474 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.999e-05/0.005031, allocations: 8 kB / 0.5474 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.005084, allocations: 23.86 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.742e-05/0.005142, allocations: 27.94 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.005285, allocations: 75.75 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.691e-05/0.005302, allocations: 0 / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005303, allocations: 4 kB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.00532, allocations: 3.984 kB / 0.5476 GB, free: 27.37 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.0006956/0.006016, allocations: 384.1 kB / 0.5479 GB, free: 26.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.006052, allocations: 11.89 kB / 0.5479 GB, free: 26.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.006101, allocations: 16.92 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.006265, allocations: 150.9 kB / 0.5481 GB, free: 26.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.006289, allocations: 8.375 kB / 0.5481 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.006316, allocations: 8.375 kB / 0.5481 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.006476, allocations: 77.02 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.006485, allocations: 3.938 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.006497, allocations: 7.984 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.006504, allocations: 0 / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.947e-05/0.006563, allocations: 23.92 kB / 0.5482 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.006885, allocations: 201.8 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.007029, allocations: 114.1 kB / 0.5485 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.00707, allocations: 24.84 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.007086, allocations: 4 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.00723, allocations: 102.2 kB / 0.5487 GB, free: 26.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.007231, allocations: 224 / 0.5487 GB, free: 26.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000185/0.007416, allocations: 81.66 kB / 0.5487 GB, free: 26.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.007448, allocations: 63.34 kB / 0.5488 GB, free: 25.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.007539, allocations: 146.6 kB / 0.5489 GB, free: 25.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.007557, allocations: 29.7 kB / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.007596, allocations: 96.06 kB / 0.549 GB, free: 25.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.007629, allocations: 43.67 kB / 0.5491 GB, free: 25.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.007685, allocations: 45.64 kB / 0.5491 GB, free: 25.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.007729, allocations: 326.8 kB / 0.5494 GB, free: 25.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/0.007769, allocations: 44.52 kB / 0.5495 GB, free: 25.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.512e-05/0.007824, allocations: 161.2 kB / 0.5496 GB, free: 25.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.109e-05/0.007885, allocations: 84.17 kB / 0.5497 GB, free: 24.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.007888, allocations: 3.375 kB / 0.5497 GB, free: 24.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.472e-05/0.007982, allocations: 147.8 kB / 0.5499 GB, free: 24.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.008012, allocations: 36.66 kB / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.008016, allocations: 0 / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.008026, allocations: 4 kB / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.008135, allocations: 35.92 kB / 0.5499 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.008138, allocations: 0 / 0.5499 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.709e-05/0.008205, allocations: 19.92 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.008214, allocations: 4 kB / 0.55 GB, free: 24.68 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 4.544e-05/0.00826, allocations: 116.7 kB / 0.5501 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.008274, allocations: 19.86 kB / 0.5501 GB, free: 24.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.485e-05/0.008369, allocations: 90.42 kB / 0.5502 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.00837, allocations: 4 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.008372, allocations: 4 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.008375, allocations: 0 / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.967e-05/0.008445, allocations: 101.8 kB / 0.5503 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.008446, allocations: 0 / 0.5503 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/0.008516, allocations: 23.98 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.008531, allocations: 11.94 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.008533, allocations: 3.938 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.008544, allocations: 8 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.008545, allocations: 0 / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.008546, allocations: 3.938 kB / 0.5503 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.008672, allocations: 134.7 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.00869, allocations: 7.938 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.733e-05/0.008738, allocations: 11.98 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.008774, allocations: 19.91 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.008779, allocations: 0 / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.793e-05/0.008807, allocations: 47.11 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008807, allocations: 0 / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001103/0.008918, allocations: 28 kB / 0.5506 GB, free: 24 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 6.285e-05/0.00898, allocations: 87.77 kB / 0.5507 GB, free: 23.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.009102, allocations: 149.9 kB / 0.5508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.009105, allocations: 0 / 0.5508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.009141, allocations: 33.53 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.0001393/0.00928, allocations: 52 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.002483/0.01176, allocations: 392.1 kB / 0.5513 GB, free: 23.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.168e-05/0.01181, allocations: 101.7 kB / 0.5514 GB, free: 23.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.01192, allocations: 95.33 kB / 0.5514 GB, free: 23.02 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01192, allocations: 0 / 0.5514 GB, free: 23.02 MB / 410.7 MB Notification: Performance of Templates: time 0.002042/0.01397, allocations: 2.039 MB / 0.5534 GB, free: 21.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.276595056056976]