Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_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.002363/0.002363, allocations: 84.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.002883/0.002883, allocations: 169.9 kB / 22.46 MB, free: 2.098 MB / 18.57 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.61/1.61, allocations: 177.1 MB / 202.8 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 178] 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 1.307/1.307, allocations: 292.9 MB / 0.5392 GB, free: 49.8 MB / 410.7 MB " [Timeout remaining time 178] 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_Van1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 0.6999 GB, free: 8.605 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.115e-05, allocations: 3.688 kB / 0.6999 GB, free: 8.602 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference): time 0.002537/0.002568, allocations: 1.807 MB / 0.7017 GB, free: 6.777 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.003616, allocations: 0.5458 MB / 0.7022 GB, free: 6.227 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.161e-05/0.003707, allocations: 3.938 kB / 0.7022 GB, free: 6.223 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.003814, allocations: 11.86 kB / 0.7022 GB, free: 6.211 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003938/0.004208, allocations: 71.55 kB / 0.7023 GB, free: 6.141 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.004398, allocations: 67.77 kB / 0.7023 GB, free: 6.074 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.004617, allocations: 163.3 kB / 0.7025 GB, free: 5.914 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.193e-05/0.004669, allocations: 13.3 kB / 0.7025 GB, free: 5.902 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.004819, allocations: 91.78 kB / 0.7026 GB, free: 5.812 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.005076, allocations: 71.78 kB / 0.7027 GB, free: 5.742 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.005106, allocations: 8 kB / 0.7027 GB, free: 5.734 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.679e-05/0.005132, allocations: 8 kB / 0.7027 GB, free: 5.727 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.005198, allocations: 35.83 kB / 0.7027 GB, free: 5.691 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.242e-05/0.005261, allocations: 43.84 kB / 0.7028 GB, free: 5.648 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.005414, allocations: 103.7 kB / 0.7029 GB, free: 5.547 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.005416, allocations: 0 / 0.7029 GB, free: 5.547 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005416, allocations: 0 / 0.7029 GB, free: 5.547 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.005421, allocations: 0 / 0.7029 GB, free: 5.547 MB / 410.8 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.0007583/0.006179, allocations: 395.5 kB / 0.7032 GB, free: 5.125 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.00622, allocations: 15.89 kB / 0.7032 GB, free: 5.109 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.006275, allocations: 20.77 kB / 0.7033 GB, free: 5.09 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.006454, allocations: 146.2 kB / 0.7034 GB, free: 4.922 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.006471, allocations: 8.375 kB / 0.7034 GB, free: 4.914 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.006499, allocations: 8.375 kB / 0.7034 GB, free: 4.906 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.006738, allocations: 101.2 kB / 0.7035 GB, free: 4.805 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.006752, allocations: 11.86 kB / 0.7035 GB, free: 4.793 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.006767, allocations: 0 / 0.7035 GB, free: 4.793 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.006772, allocations: 4 kB / 0.7035 GB, free: 4.789 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.007048, allocations: 83.92 kB / 0.7036 GB, free: 4.707 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.007469, allocations: 272.4 kB / 0.7039 GB, free: 4.41 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.007837, allocations: 142.3 kB / 0.704 GB, free: 4.262 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.008005, allocations: 52.77 kB / 0.7041 GB, free: 4.207 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.008027, allocations: 4 kB / 0.7041 GB, free: 4.203 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002888/0.008316, allocations: 111.3 kB / 0.7042 GB, free: 4.082 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.008318, allocations: 0 / 0.7042 GB, free: 4.082 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006294/0.008947, allocations: 193.7 kB / 0.7044 GB, free: 3.887 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.008987, allocations: 55.41 kB / 0.7044 GB, free: 3.82 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.009132, allocations: 163.5 kB / 0.7046 GB, free: 3.652 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.009159, allocations: 29.7 kB / 0.7046 GB, free: 3.617 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.009225, allocations: 104.1 kB / 0.7047 GB, free: 3.512 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.009261, allocations: 47.62 kB / 0.7047 GB, free: 3.465 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.588e-05/0.009327, allocations: 37.7 kB / 0.7048 GB, free: 3.422 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.633e-05/0.009393, allocations: 322.8 kB / 0.7051 GB, free: 3.098 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.009558, allocations: 81.66 kB / 0.7052 GB, free: 3.012 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.009757, allocations: 206.9 kB / 0.7054 GB, free: 2.773 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.01005, allocations: 145.8 kB / 0.7055 GB, free: 2.625 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01005, allocations: 3.938 kB / 0.7055 GB, free: 2.621 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003887/0.01044, allocations: 240.8 kB / 0.7057 GB, free: 2.367 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.01047, allocations: 37.69 kB / 0.7058 GB, free: 2.324 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01048, allocations: 0 / 0.7058 GB, free: 2.324 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.0105, allocations: 4 kB / 0.7058 GB, free: 2.32 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.01066, allocations: 23.98 kB / 0.7058 GB, free: 2.297 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.01067, allocations: 0 / 0.7058 GB, free: 2.297 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.01084, allocations: 19.92 kB / 0.7058 GB, free: 2.277 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.01086, allocations: 8 kB / 0.7058 GB, free: 2.27 MB / 410.8 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 9.665e-05/0.01095, allocations: 130.4 kB / 0.7059 GB, free: 2.133 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.01098, allocations: 11.91 kB / 0.706 GB, free: 2.121 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.01138, allocations: 170.4 kB / 0.7061 GB, free: 1.953 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.01139, allocations: 4 kB / 0.7061 GB, free: 1.949 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.01139, allocations: 3.938 kB / 0.7061 GB, free: 1.945 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.0114, allocations: 4 kB / 0.7061 GB, free: 1.941 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.01154, allocations: 149.5 kB / 0.7063 GB, free: 1.766 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01154, allocations: 3.938 kB / 0.7063 GB, free: 1.762 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.01171, allocations: 31.91 kB / 0.7063 GB, free: 1.73 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01171, allocations: 0 / 0.7063 GB, free: 1.73 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.01173, allocations: 4 kB / 0.7063 GB, free: 1.727 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01173, allocations: 3.938 kB / 0.7063 GB, free: 1.723 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01173, allocations: 0 / 0.7063 GB, free: 1.723 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/0.01228, allocations: 257.6 kB / 0.7066 GB, free: 1.457 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.01231, allocations: 19.81 kB / 0.7066 GB, free: 1.438 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.01234, allocations: 4 kB / 0.7066 GB, free: 1.434 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.01248, allocations: 11.98 kB / 0.7066 GB, free: 1.422 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.922e-05/0.01257, allocations: 15.97 kB / 0.7066 GB, free: 1.406 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.01258, allocations: 4 kB / 0.7066 GB, free: 1.402 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001135/0.01269, allocations: 125.3 kB / 0.7067 GB, free: 1.281 MB / 410.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01269, allocations: 0 / 0.7067 GB, free: 1.281 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002244/0.01292, allocations: 32 kB / 0.7068 GB, free: 1.25 MB / 410.8 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 0.0001657/0.01308, allocations: 111.2 kB / 0.7069 GB, free: 1.129 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004609/0.01355, allocations: 205 kB / 0.7071 GB, free: 0.9102 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.01355, allocations: 0 / 0.7071 GB, free: 0.9102 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.01374, allocations: 63.89 kB / 0.7071 GB, free: 0.8477 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.01408, allocations: 54.7 kB / 0.7072 GB, free: 0.7969 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000749/0.01483, allocations: 301.5 kB / 0.7075 GB, free: 488 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.757e-05/0.01491, allocations: 97.81 kB / 0.7076 GB, free: 372 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.695e-05/0.01501, allocations: 17.48 kB / 0.7076 GB, free: 352 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.809e-05/0.01507, allocations: 24.48 kB / 0.7076 GB, free: 328 kB / 410.8 MB Notification: Performance of SimCode: time 8.71e-07/0.01507, allocations: 4 kB / 0.7076 GB, free: 324 kB / 410.8 MB Notification: Performance of Templates: time 0.006989/0.02206, allocations: 2.491 MB / 0.71 GB, free: 13.93 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.617550012888387]