Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.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.001085/0.001085, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.00254, 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.0009819/0.0009819, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001239/0.002221, 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.014/1.014, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08328/1.098, 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.7431/0.7431, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03172/0.7748, allocations: 21.04 MB / 0.5431 GB, free: 31.97 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.ChromicAcid.ChromicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.877e-05, allocations: 6.312 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid): time 0.002645/0.002663, allocations: 1.96 MB / 0.5465 GB, free: 28.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009637/0.003627, allocations: 0.5679 MB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.761e-05/0.003695, allocations: 4 kB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.535e-05/0.00376, allocations: 11.86 kB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.004043, allocations: 75.47 kB / 0.5471 GB, free: 27.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.004253, allocations: 63.77 kB / 0.5472 GB, free: 27.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.004578, allocations: 172 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.675e-05/0.004655, allocations: 5.969 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.004921, allocations: 111.8 kB / 0.5474 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.005143, allocations: 75.78 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.005168, allocations: 8 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.954e-05/0.005187, allocations: 8 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.005235, allocations: 23.92 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.005279, allocations: 31.94 kB / 0.5476 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.005402, allocations: 83.61 kB / 0.5477 GB, free: 27.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.461e-05/0.005417, allocations: 0 / 0.5477 GB, free: 27.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.005418, allocations: 0 / 0.5477 GB, free: 27.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.005436, allocations: 0 / 0.5477 GB, free: 27.34 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.0005381/0.005974, allocations: 388.2 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.006005, allocations: 11.89 kB / 0.548 GB, free: 26.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.006052, allocations: 12.92 kB / 0.5481 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.006189, allocations: 154.8 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.006205, allocations: 8.375 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.006227, allocations: 12.31 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.006345, allocations: 81.03 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.006352, allocations: 3.938 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.006361, allocations: 0 / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.006367, allocations: 8 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.514e-05/0.006412, allocations: 19.97 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.006665, allocations: 193.9 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.006781, allocations: 122.9 kB / 0.5486 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.006809, allocations: 16.86 kB / 0.5486 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.006824, allocations: 4 kB / 0.5486 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.006941, allocations: 94.22 kB / 0.5487 GB, free: 26.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.006942, allocations: 3.984 kB / 0.5487 GB, free: 26.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001753/0.007118, allocations: 93.59 kB / 0.5488 GB, free: 26.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.007141, allocations: 51.62 kB / 0.5489 GB, free: 25.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.208e-05/0.007203, allocations: 150.6 kB / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.007214, allocations: 33.64 kB / 0.5491 GB, free: 25.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.007242, allocations: 96.08 kB / 0.5491 GB, free: 25.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.007265, allocations: 43.61 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.007303, allocations: 41.64 kB / 0.5492 GB, free: 25.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.309e-05/0.007336, allocations: 326.8 kB / 0.5495 GB, free: 25.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.119e-05/0.007368, allocations: 44.53 kB / 0.5496 GB, free: 25.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.164e-05/0.007419, allocations: 164.9 kB / 0.5497 GB, free: 25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.367e-05/0.007473, allocations: 80.17 kB / 0.5498 GB, free: 24.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.007475, allocations: 0 / 0.5498 GB, free: 24.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.768e-05/0.007562, allocations: 158.6 kB / 0.55 GB, free: 24.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.00759, allocations: 33.7 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.007594, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.007603, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.007709, allocations: 31.98 kB / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.007711, allocations: 0 / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.007775, allocations: 19.17 kB / 0.5501 GB, free: 24.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.007783, allocations: 4 kB / 0.5501 GB, free: 24.65 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.743e-05/0.00783, allocations: 124.6 kB / 0.5502 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.007843, allocations: 15.92 kB / 0.5502 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.007943, allocations: 94.42 kB / 0.5503 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007945, allocations: 0 / 0.5503 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.007946, allocations: 0 / 0.5503 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.00795, allocations: 3.984 kB / 0.5503 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.977e-05/0.00802, allocations: 105.8 kB / 0.5504 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.008021, allocations: 0 / 0.5504 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.409e-05/0.008095, allocations: 31.92 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.008108, allocations: 7.953 kB / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.008109, allocations: 3.938 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.008119, allocations: 0 / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.008121, allocations: 0 / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.008121, allocations: 0 / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.008244, allocations: 139.3 kB / 0.5506 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.008262, allocations: 7.938 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.458e-05/0.008306, allocations: 8 kB / 0.5506 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.008341, allocations: 15.91 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.008347, allocations: 16.02 kB / 0.5506 GB, free: 24.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.436e-05/0.008371, allocations: 39.88 kB / 0.5506 GB, free: 23.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008372, allocations: 4 kB / 0.5506 GB, free: 23.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001108/0.008482, allocations: 28 kB / 0.5507 GB, free: 23.96 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 8.141e-05/0.008564, allocations: 88.36 kB / 0.5508 GB, free: 23.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.008681, allocations: 145.9 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.008686, allocations: 4 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.704e-05/0.008723, allocations: 40.91 kB / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.008866, allocations: 59.09 kB / 0.551 GB, free: 23.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.01154, allocations: 354.2 kB / 0.5513 GB, free: 23.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.296e-05/0.01156, allocations: 71.83 kB / 0.5514 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.987e-05/0.01162, allocations: 21.52 kB / 0.5514 GB, free: 23.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.994e-05/0.01172, allocations: 91.28 kB / 0.5515 GB, free: 23.03 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01172, allocations: 0 / 0.5515 GB, free: 23.03 MB / 410.7 MB Notification: Performance of Templates: time 0.003478/0.0152, allocations: 2.742 MB / 0.5542 GB, free: 20.36 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2193504106253386]