Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.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.001056/0.001056, allocations: 72.12 kB / 9.871 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001413/0.002468, allocations: 443.9 kB / 10.3 MB, free: 396 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.001104/0.001104, allocations: 157.2 kB / 11.19 MB, free: 2.988 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002553, allocations: 467.5 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.9187/0.9187, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09318/1.012, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7449/0.7449, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06158/0.8065, allocations: 21.05 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.NickelOxide.NickelOxide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.31e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide): time 0.001836/0.001849, allocations: 1.958 MB / 0.5464 GB, free: 28.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005259/0.002375, allocations: 0.5808 MB / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.002418, allocations: 0 / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.703e-05/0.002455, allocations: 11.86 kB / 0.547 GB, free: 28.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.002641, allocations: 67.48 kB / 0.547 GB, free: 27.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.002746, allocations: 55.89 kB / 0.5471 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.002894, allocations: 168 kB / 0.5472 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.00293, allocations: 21.81 kB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.003048, allocations: 111.8 kB / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.003204, allocations: 75.78 kB / 0.5474 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.003225, allocations: 4 kB / 0.5474 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.875e-05/0.003244, allocations: 8 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.04e-05/0.003284, allocations: 27.92 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.003321, allocations: 27.94 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.003422, allocations: 75.69 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.484e-05/0.003437, allocations: 3.984 kB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003438, allocations: 0 / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.976e-06/0.003447, allocations: 0 / 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.0004756/0.003922, allocations: 384.2 kB / 0.548 GB, free: 26.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.618e-05/0.003948, allocations: 11.89 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.003987, allocations: 20.92 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.004116, allocations: 150.9 kB / 0.5481 GB, free: 26.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.004135, allocations: 4.375 kB / 0.5481 GB, free: 26.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.004154, allocations: 12.31 kB / 0.5481 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.004267, allocations: 73.02 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.004275, allocations: 7.938 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.004283, allocations: 4 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.004289, allocations: 3.938 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.2e-05/0.004331, allocations: 27.98 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.004541, allocations: 197.8 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.711e-05/0.004638, allocations: 118.9 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.004663, allocations: 20.84 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.004677, allocations: 4 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.819e-05/0.004775, allocations: 98.22 kB / 0.5487 GB, free: 26.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.004776, allocations: 0 / 0.5487 GB, free: 26.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001237/0.004899, allocations: 85.59 kB / 0.5488 GB, free: 26.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.004922, allocations: 55.41 kB / 0.5488 GB, free: 25.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.737e-05/0.004979, allocations: 146.6 kB / 0.5489 GB, free: 25.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.004991, allocations: 29.7 kB / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.554e-05/0.005017, allocations: 96.06 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.005039, allocations: 43.67 kB / 0.5491 GB, free: 25.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.005077, allocations: 41.64 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.846e-05/0.005105, allocations: 318.8 kB / 0.5495 GB, free: 25.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.34e-05/0.005138, allocations: 56.52 kB / 0.5495 GB, free: 25.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.146e-05/0.00519, allocations: 158.1 kB / 0.5497 GB, free: 25.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.884e-05/0.005249, allocations: 78.83 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.005251, allocations: 4 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.793e-05/0.005339, allocations: 155.1 kB / 0.5499 GB, free: 24.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.005367, allocations: 33.7 kB / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.005371, allocations: 0 / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.00538, allocations: 0 / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.005483, allocations: 31.98 kB / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.005487, allocations: 11.12 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.005555, allocations: 15.92 kB / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.005562, 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.642e-05/0.005609, allocations: 124.8 kB / 0.5501 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.00562, allocations: 15.92 kB / 0.5501 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.005722, allocations: 102.4 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.005724, allocations: 0 / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.005725, allocations: 0 / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.005729, allocations: 4 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.767e-05/0.005797, allocations: 105.8 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.005797, allocations: 0 / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.019e-05/0.005868, allocations: 27.92 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.005881, allocations: 11.94 kB / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.005883, allocations: 3.938 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.005893, allocations: 0 / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.005894, allocations: 0 / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.005895, allocations: 4 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.00601, allocations: 130.7 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.006028, allocations: 15.92 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.379e-05/0.006072, allocations: 8.031 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.006105, allocations: 19.91 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.006111, allocations: 4 kB / 0.5505 GB, free: 24.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.404e-05/0.006135, allocations: 42.5 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006135, allocations: 0 / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001046/0.00624, allocations: 32 kB / 0.5506 GB, free: 23.99 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 5.321e-05/0.006293, allocations: 83.42 kB / 0.5507 GB, free: 23.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.006399, allocations: 146.6 kB / 0.5508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.006402, allocations: 8 kB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.438e-05/0.006436, allocations: 32.78 kB / 0.5509 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.0001292/0.006565, allocations: 52.2 kB / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.008957, allocations: 395.9 kB / 0.5513 GB, free: 23.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.64e-05/0.008993, allocations: 97.8 kB / 0.5514 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.009102, allocations: 87.34 kB / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009102, allocations: 0 / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of Templates: time 0.00203/0.01113, allocations: 2.047 MB / 0.5535 GB, free: 21.01 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2755575412884355]