Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol.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.0006781/0.0006781, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009479/0.001626, 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.0006869/0.0006869, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009308/0.001618, 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.9038/0.9038, allocations: 177.1 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09615/1, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.7664/0.7664, allocations: 291.1 MB / 0.5225 GB, free: 52.76 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02674/0.7931, allocations: 21.04 MB / 0.5431 GB, free: 31.79 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.Cholesterol.Cholesterol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 3.938 kB / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.3e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol): time 0.002745/0.002768, allocations: 1.954 MB / 0.5464 GB, free: 28.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008106/0.003579, allocations: 0.5679 MB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.749e-05/0.003636, allocations: 0 / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.038e-05/0.003696, allocations: 15.84 kB / 0.5469 GB, free: 27.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.003961, allocations: 71.48 kB / 0.547 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.004138, allocations: 67.77 kB / 0.5471 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.004349, allocations: 168 kB / 0.5472 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.004396, allocations: 5.969 kB / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.004575, allocations: 115.8 kB / 0.5474 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.004786, allocations: 75.78 kB / 0.5474 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.004814, allocations: 8 kB / 0.5474 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.437e-05/0.004838, allocations: 4 kB / 0.5474 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.004891, allocations: 23.94 kB / 0.5475 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.004945, allocations: 31.92 kB / 0.5475 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.005078, allocations: 83.62 kB / 0.5476 GB, free: 27.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.421e-05/0.005093, allocations: 0 / 0.5476 GB, free: 27.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005093, allocations: 0 / 0.5476 GB, free: 27.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.005105, allocations: 0 / 0.5476 GB, free: 27.18 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.0006111/0.005716, allocations: 388.1 kB / 0.5479 GB, free: 26.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.005749, allocations: 15.89 kB / 0.548 GB, free: 26.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.005794, allocations: 12.92 kB / 0.548 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.005944, allocations: 150.8 kB / 0.5481 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.005967, allocations: 8.375 kB / 0.5481 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.005991, allocations: 4.375 kB / 0.5481 GB, free: 26.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.006141, allocations: 92.95 kB / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.00615, allocations: 7.938 kB / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.006159, allocations: 0 / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.006164, allocations: 0 / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.695e-05/0.006221, allocations: 23.98 kB / 0.5482 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.007702, allocations: 197.9 kB / 0.5484 GB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.007813, allocations: 114.9 kB / 0.5485 GB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/0.00784, allocations: 28.84 kB / 0.5486 GB, free: 26.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.007853, allocations: 3.984 kB / 0.5486 GB, free: 26.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001052/0.007959, allocations: 82.25 kB / 0.5487 GB, free: 25.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.00796, allocations: 4 kB / 0.5487 GB, free: 25.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001322/0.008092, allocations: 89.59 kB / 0.5487 GB, free: 25.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.008113, allocations: 59.39 kB / 0.5488 GB, free: 25.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.823e-05/0.008171, allocations: 142.9 kB / 0.5489 GB, free: 25.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.008183, allocations: 33.7 kB / 0.549 GB, free: 25.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.00821, allocations: 100 kB / 0.5491 GB, free: 25.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.008232, allocations: 47.61 kB / 0.5491 GB, free: 25.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.008279, allocations: 41.64 kB / 0.5492 GB, free: 25.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.178e-05/0.008311, allocations: 326.8 kB / 0.5495 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.259e-05/0.008343, allocations: 48.52 kB / 0.5495 GB, free: 25.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.64e-05/0.00839, allocations: 158.1 kB / 0.5497 GB, free: 24.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.323e-05/0.008443, allocations: 82.98 kB / 0.5497 GB, free: 24.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008445, allocations: 0 / 0.5497 GB, free: 24.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.402e-05/0.008529, allocations: 147.8 kB / 0.5499 GB, free: 24.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.008552, allocations: 37.69 kB / 0.5499 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.008556, allocations: 0 / 0.5499 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.223e-06/0.008563, allocations: 0 / 0.5499 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.968e-05/0.008663, allocations: 35.98 kB / 0.5499 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.008666, allocations: 0 / 0.5499 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.008734, allocations: 15.98 kB / 0.55 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.008742, allocations: 7 kB / 0.55 GB, free: 24.49 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.455e-05/0.008787, allocations: 124.6 kB / 0.5501 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.008799, allocations: 15.92 kB / 0.5501 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.033e-05/0.008889, allocations: 94.41 kB / 0.5502 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008892, allocations: 4 kB / 0.5502 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.008893, allocations: 0 / 0.5502 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.008896, allocations: 0 / 0.5502 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.943e-05/0.008965, allocations: 97.77 kB / 0.5503 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.008966, allocations: 4 kB / 0.5503 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.113e-05/0.009037, allocations: 27.92 kB / 0.5503 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.009051, allocations: 7.953 kB / 0.5503 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.009053, allocations: 3.938 kB / 0.5503 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.009064, allocations: 7.984 kB / 0.5503 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.009065, allocations: 0 / 0.5503 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.009066, allocations: 0 / 0.5503 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.009188, allocations: 135.3 kB / 0.5505 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.009206, allocations: 3.938 kB / 0.5505 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.762e-05/0.009253, allocations: 16.02 kB / 0.5505 GB, free: 23.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.009286, allocations: 15.97 kB / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.009292, allocations: 7.938 kB / 0.5505 GB, free: 23.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.482e-05/0.009316, allocations: 42.5 kB / 0.5506 GB, free: 23.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009316, allocations: 3.938 kB / 0.5506 GB, free: 23.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001097/0.009426, allocations: 32 kB / 0.5506 GB, free: 23.8 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.544e-05/0.009482, allocations: 80.42 kB / 0.5507 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.009594, allocations: 148.5 kB / 0.5508 GB, free: 23.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.009596, allocations: 4 kB / 0.5508 GB, free: 23.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.689e-05/0.009633, allocations: 40.84 kB / 0.5508 GB, free: 23.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.00977, allocations: 66.11 kB / 0.5509 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.01224, allocations: 350.2 kB / 0.5512 GB, free: 23.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.758e-05/0.01227, allocations: 71.84 kB / 0.5513 GB, free: 22.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.645e-05/0.01232, allocations: 17.52 kB / 0.5513 GB, free: 22.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.842e-05/0.01242, allocations: 87.34 kB / 0.5514 GB, free: 22.88 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01242, allocations: 7.938 kB / 0.5514 GB, free: 22.88 MB / 410.7 MB Notification: Performance of Templates: time 0.003393/0.01582, allocations: 2.738 MB / 0.5541 GB, free: 20.21 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0946307592093945]