Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_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.001113/0.001113, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001398/0.002511, 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.001065/0.001065, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001353/0.002418, 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 1.075/1.075, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09389/1.169, allocations: 53.65 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.8263/0.8263, allocations: 291.1 MB / 0.5226 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02871/0.855, allocations: 21.04 MB / 0.5431 GB, free: 31.81 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.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 0.5445 GB, free: 30.41 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.546e-06/1.021e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.41 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference): time 0.001935/0.001945, allocations: 1.943 MB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008537/0.002799, allocations: 0.5729 MB / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.002856, allocations: 0 / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.479e-05/0.002911, allocations: 11.86 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.003161, allocations: 71.47 kB / 0.547 GB, free: 27.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.003333, allocations: 71.77 kB / 0.5471 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.003564, allocations: 160 kB / 0.5472 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.003605, allocations: 9.953 kB / 0.5472 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.003785, allocations: 119.8 kB / 0.5474 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.004002, allocations: 71.78 kB / 0.5474 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.004029, allocations: 8 kB / 0.5474 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.598e-05/0.004055, allocations: 8 kB / 0.5474 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.004109, allocations: 23.92 kB / 0.5475 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.645e-05/0.004165, allocations: 27.94 kB / 0.5475 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.004301, allocations: 79.62 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-05/0.004319, allocations: 8 kB / 0.5476 GB, free: 27.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.00432, allocations: 0 / 0.5476 GB, free: 27.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.004339, allocations: 0 / 0.5476 GB, free: 27.22 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.0006943/0.005033, allocations: 384.2 kB / 0.5479 GB, free: 26.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.005071, allocations: 11.89 kB / 0.548 GB, free: 26.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.064e-05/0.005132, allocations: 12.92 kB / 0.548 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.005311, allocations: 154.8 kB / 0.5481 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.005334, allocations: 12.38 kB / 0.5481 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.005361, allocations: 8.375 kB / 0.5481 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.005554, allocations: 84.95 kB / 0.5482 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.005565, allocations: 3.938 kB / 0.5482 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.005576, allocations: 0 / 0.5482 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.005582, allocations: 0 / 0.5482 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.131e-05/0.005633, allocations: 23.98 kB / 0.5482 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000279/0.005912, allocations: 197.9 kB / 0.5484 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.006039, allocations: 114.9 kB / 0.5485 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.006068, allocations: 24.84 kB / 0.5486 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.006084, allocations: 4 kB / 0.5486 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.006226, allocations: 90.22 kB / 0.5487 GB, free: 26.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.006228, allocations: 0 / 0.5487 GB, free: 26.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001849/0.006413, allocations: 89.59 kB / 0.5487 GB, free: 25.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.006449, allocations: 55.41 kB / 0.5488 GB, free: 25.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.006536, allocations: 146.6 kB / 0.5489 GB, free: 25.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.00655, allocations: 29.92 kB / 0.549 GB, free: 25.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.006585, allocations: 96.06 kB / 0.5491 GB, free: 25.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.006614, allocations: 55.55 kB / 0.5491 GB, free: 25.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.006657, allocations: 41.64 kB / 0.5491 GB, free: 25.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.006704, allocations: 322.8 kB / 0.5495 GB, free: 25.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.805e-05/0.006742, allocations: 44.52 kB / 0.5495 GB, free: 25.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-05/0.006807, allocations: 158.1 kB / 0.5496 GB, free: 24.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.547e-05/0.006873, allocations: 90.81 kB / 0.5497 GB, free: 24.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.006875, allocations: 0 / 0.5497 GB, free: 24.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001029/0.006978, allocations: 151.8 kB / 0.5499 GB, free: 24.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.007016, allocations: 33.69 kB / 0.5499 GB, free: 24.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.007023, allocations: 3.375 kB / 0.5499 GB, free: 24.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.007036, allocations: 8 kB / 0.5499 GB, free: 24.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.007153, allocations: 27.98 kB / 0.5499 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.007157, allocations: 0 / 0.5499 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.007223, allocations: 15.98 kB / 0.55 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.007234, allocations: 4 kB / 0.55 GB, free: 24.53 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.589e-05/0.00729, allocations: 128.5 kB / 0.5501 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.007305, allocations: 19.92 kB / 0.5501 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.007435, allocations: 90.42 kB / 0.5502 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.007439, allocations: 8 kB / 0.5502 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.007442, allocations: 0 / 0.5502 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.007447, allocations: 0 / 0.5502 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.047e-05/0.007527, allocations: 97.75 kB / 0.5503 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.007528, allocations: 0 / 0.5503 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.229e-05/0.0076, allocations: 27.92 kB / 0.5503 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.007615, allocations: 15.94 kB / 0.5503 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.007618, allocations: 7.938 kB / 0.5503 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.007629, allocations: 0 / 0.5503 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.00763, allocations: 2.969 kB / 0.5503 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.007631, allocations: 0 / 0.5503 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.007754, allocations: 139.3 kB / 0.5505 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.007772, allocations: 3.938 kB / 0.5505 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.487e-05/0.007817, allocations: 11.98 kB / 0.5505 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.007852, allocations: 15.97 kB / 0.5505 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.007856, allocations: 3.938 kB / 0.5505 GB, free: 23.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.365e-05/0.00788, allocations: 42.52 kB / 0.5506 GB, free: 23.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00788, allocations: 0 / 0.5506 GB, free: 23.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001056/0.007986, allocations: 35.94 kB / 0.5506 GB, free: 23.84 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.717e-05/0.008053, allocations: 92.38 kB / 0.5507 GB, free: 23.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.00817, allocations: 146 kB / 0.5508 GB, free: 23.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.008174, allocations: 4 kB / 0.5508 GB, free: 23.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.728e-05/0.008211, allocations: 36.84 kB / 0.5509 GB, free: 23.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.008394, allocations: 56.28 kB / 0.5509 GB, free: 23.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.01079, allocations: 362.2 kB / 0.5513 GB, free: 23.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.497e-05/0.01082, allocations: 67.84 kB / 0.5513 GB, free: 23.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.29e-05/0.01087, allocations: 21.52 kB / 0.5513 GB, free: 23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.145e-05/0.01096, allocations: 87.34 kB / 0.5514 GB, free: 22.91 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01096, allocations: 0 / 0.5514 GB, free: 22.91 MB / 410.7 MB Notification: Performance of Templates: time 0.003509/0.01447, allocations: 2.755 MB / 0.5541 GB, free: 20.23 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4356071408838034]