Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.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.002409/0.002409, allocations: 76.45 kB / 19.17 MB, free: 0.7383 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.002699/0.002699, allocations: 177.2 kB / 22.46 MB, free: 2.094 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.73/1.73, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.335/1.335, allocations: 293 MB / 0.5392 GB, free: 49.21 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.NickelTrioxide.NickelTrioxide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.918e-05, allocations: 4.672 kB / 0.6999 GB, free: 8.543 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide): time 0.002414/0.002444, allocations: 1.83 MB / 0.7017 GB, free: 6.695 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009722/0.003416, allocations: 0.5576 MB / 0.7023 GB, free: 6.133 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.261e-05/0.003488, allocations: 0 / 0.7023 GB, free: 6.133 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.003625, allocations: 11.86 kB / 0.7023 GB, free: 6.121 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004348/0.00406, allocations: 59.55 kB / 0.7023 GB, free: 6.062 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.004269, allocations: 71.77 kB / 0.7024 GB, free: 5.992 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.004528, allocations: 167.3 kB / 0.7026 GB, free: 5.828 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.321e-05/0.004591, allocations: 5.312 kB / 0.7026 GB, free: 5.824 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.004747, allocations: 91.78 kB / 0.7027 GB, free: 5.734 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.005019, allocations: 75.77 kB / 0.7027 GB, free: 5.66 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.005052, allocations: 8 kB / 0.7027 GB, free: 5.652 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-05/0.005078, allocations: 8 kB / 0.7027 GB, free: 5.645 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.00515, allocations: 43.83 kB / 0.7028 GB, free: 5.602 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.005217, allocations: 39.91 kB / 0.7028 GB, free: 5.562 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.005375, allocations: 99.62 kB / 0.7029 GB, free: 5.465 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.005379, allocations: 0 / 0.7029 GB, free: 5.465 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.763e-06/0.005381, allocations: 0 / 0.7029 GB, free: 5.465 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.005387, allocations: 3.984 kB / 0.7029 GB, free: 5.461 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.0008362/0.006223, allocations: 391.5 kB / 0.7033 GB, free: 5.043 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.006269, allocations: 12.03 kB / 0.7033 GB, free: 5.031 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/0.006329, allocations: 16.84 kB / 0.7033 GB, free: 5.016 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.006573, allocations: 150.2 kB / 0.7035 GB, free: 4.844 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.006596, allocations: 8.312 kB / 0.7035 GB, free: 4.836 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.006634, allocations: 12.38 kB / 0.7035 GB, free: 4.824 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.006925, allocations: 97.3 kB / 0.7036 GB, free: 4.727 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.006938, allocations: 3.938 kB / 0.7036 GB, free: 4.723 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.006958, allocations: 7.938 kB / 0.7036 GB, free: 4.715 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.006965, allocations: 3.984 kB / 0.7036 GB, free: 4.711 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.00725, allocations: 87.92 kB / 0.7037 GB, free: 4.625 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.007755, allocations: 276.4 kB / 0.7039 GB, free: 4.324 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.008103, allocations: 138.3 kB / 0.7041 GB, free: 4.18 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.008244, allocations: 52.81 kB / 0.7041 GB, free: 4.125 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.008262, allocations: 3.938 kB / 0.7041 GB, free: 4.121 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/0.008525, allocations: 115.3 kB / 0.7042 GB, free: 3.996 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.008526, allocations: 4 kB / 0.7042 GB, free: 3.992 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005292/0.009055, allocations: 193.7 kB / 0.7044 GB, free: 3.797 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.009086, allocations: 59.39 kB / 0.7045 GB, free: 3.727 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.009207, allocations: 155.6 kB / 0.7046 GB, free: 3.566 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.009225, allocations: 33.64 kB / 0.7047 GB, free: 3.527 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.009275, allocations: 96.09 kB / 0.7048 GB, free: 3.43 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.009308, allocations: 47.64 kB / 0.7048 GB, free: 3.383 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/0.009379, allocations: 37.7 kB / 0.7048 GB, free: 3.34 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.009426, allocations: 326.8 kB / 0.7052 GB, free: 3.012 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.009593, allocations: 85.64 kB / 0.7052 GB, free: 2.922 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.00979, allocations: 198.9 kB / 0.7054 GB, free: 2.691 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.01007, allocations: 145.8 kB / 0.7056 GB, free: 2.543 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01007, allocations: 3.938 kB / 0.7056 GB, free: 2.539 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003851/0.01045, allocations: 232.8 kB / 0.7058 GB, free: 2.293 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.01048, allocations: 45.62 kB / 0.7058 GB, free: 2.242 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.01048, allocations: 0 / 0.7058 GB, free: 2.242 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.0105, allocations: 0 / 0.7058 GB, free: 2.242 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.01066, allocations: 23.98 kB / 0.7059 GB, free: 2.219 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01067, allocations: 4 kB / 0.7059 GB, free: 2.215 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.01082, allocations: 19.92 kB / 0.7059 GB, free: 2.195 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.01084, allocations: 7.984 kB / 0.7059 GB, free: 2.188 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 8.561e-05/0.01093, allocations: 125.7 kB / 0.706 GB, free: 2.055 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.01095, allocations: 15.91 kB / 0.706 GB, free: 2.039 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.01134, allocations: 170.4 kB / 0.7062 GB, free: 1.871 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01134, allocations: 0 / 0.7062 GB, free: 1.871 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.01134, allocations: 4 kB / 0.7062 GB, free: 1.867 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01135, allocations: 224 / 0.7062 GB, free: 1.867 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.01147, allocations: 153.2 kB / 0.7063 GB, free: 1.688 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01147, allocations: 7.875 kB / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.01165, allocations: 19.98 kB / 0.7064 GB, free: 1.66 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.01165, allocations: 0 / 0.7064 GB, free: 1.66 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.01167, allocations: 12 kB / 0.7064 GB, free: 1.648 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01168, allocations: 3.938 kB / 0.7064 GB, free: 1.645 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01168, allocations: 0 / 0.7064 GB, free: 1.645 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/0.01225, allocations: 248.3 kB / 0.7066 GB, free: 1.387 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.01227, allocations: 19.81 kB / 0.7066 GB, free: 1.367 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.01231, allocations: 8 kB / 0.7066 GB, free: 1.359 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.01243, allocations: 7.984 kB / 0.7066 GB, free: 1.352 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.0125, allocations: 24.03 kB / 0.7067 GB, free: 1.328 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.01251, allocations: 4 kB / 0.7067 GB, free: 1.324 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.607e-05/0.01259, allocations: 121.8 kB / 0.7068 GB, free: 1.207 MB / 410.8 MB Notification: Performance of sort global known variables: time 1e-07/0.01259, allocations: 4 kB / 0.7068 GB, free: 1.203 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001995/0.01279, allocations: 28 kB / 0.7068 GB, free: 1.176 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.0001167/0.01291, allocations: 111.2 kB / 0.7069 GB, free: 1.055 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004037/0.01331, allocations: 205 kB / 0.7071 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01331, allocations: 0 / 0.7071 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.01348, allocations: 67.89 kB / 0.7072 GB, free: 0.7695 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.01377, allocations: 46.55 kB / 0.7072 GB, free: 0.7266 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.01443, allocations: 313.5 kB / 0.7075 GB, free: 404 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.692e-05/0.01449, allocations: 89.81 kB / 0.7076 GB, free: 296 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.637e-05/0.01457, allocations: 33.5 kB / 0.7076 GB, free: 260 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.01463, allocations: 16.5 kB / 0.7077 GB, free: 244 kB / 410.8 MB Notification: Performance of SimCode: time 3.11e-07/0.01463, allocations: 0 / 0.7077 GB, free: 244 kB / 410.8 MB Notification: Performance of Templates: time 0.006418/0.02105, allocations: 2.487 MB / 0.7101 GB, free: 13.83 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.803719045827165]