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.001123/0.001123, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001298/0.001298, allocations: 165.9 kB / 23.21 MB, free: 1.332 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 0.9935/0.9935, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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.729/0.729, allocations: 291.1 MB / 0.5382 GB, free: 51.82 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.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 3.387e-06/3.387e-06, allocations: 0 / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.198e-05/5.537e-05, allocations: 9.375 kB / 0.6974 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide): time 0.003881/0.003936, allocations: 1.838 MB / 0.6991 GB, free: 8.547 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.005021, allocations: 0.5499 MB / 0.6997 GB, free: 7.992 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.979e-05/0.005101, allocations: 0 / 0.6997 GB, free: 7.992 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.005215, allocations: 11.86 kB / 0.6997 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004517/0.005667, allocations: 71.47 kB / 0.6998 GB, free: 7.91 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.005879, allocations: 74.77 kB / 0.6998 GB, free: 7.84 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.006123, allocations: 163.3 kB / 0.7 GB, free: 7.68 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.193e-05/0.006185, allocations: 5.312 kB / 0.7 GB, free: 7.676 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.006353, allocations: 91.78 kB / 0.7001 GB, free: 7.586 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.006617, allocations: 79.77 kB / 0.7002 GB, free: 7.508 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.006649, allocations: 8 kB / 0.7002 GB, free: 7.5 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.337e-05/0.006672, allocations: 8 kB / 0.7002 GB, free: 7.492 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.006747, allocations: 27.91 kB / 0.7002 GB, free: 7.465 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.006822, allocations: 51.83 kB / 0.7003 GB, free: 7.414 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.006999, allocations: 99.67 kB / 0.7003 GB, free: 7.316 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.007004, allocations: 0 / 0.7003 GB, free: 7.316 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.033e-06/0.007006, allocations: 0 / 0.7003 GB, free: 7.316 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.007011, allocations: 0 / 0.7003 GB, free: 7.316 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.0007665/0.007777, allocations: 391.5 kB / 0.7007 GB, free: 6.898 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.007819, allocations: 8.031 kB / 0.7007 GB, free: 6.891 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.00788, allocations: 16.84 kB / 0.7007 GB, free: 6.875 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.008086, allocations: 150.1 kB / 0.7009 GB, free: 6.703 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.00811, allocations: 4.375 kB / 0.7009 GB, free: 6.699 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.008145, allocations: 16.36 kB / 0.7009 GB, free: 6.684 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.00841, allocations: 94.19 kB / 0.701 GB, free: 6.586 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.008422, allocations: 3.938 kB / 0.701 GB, free: 6.582 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.008438, allocations: 4 kB / 0.701 GB, free: 6.578 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.008445, allocations: 11.94 kB / 0.701 GB, free: 6.566 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.008688, allocations: 79.91 kB / 0.7011 GB, free: 6.488 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.009195, allocations: 284.3 kB / 0.7014 GB, free: 6.18 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.009548, allocations: 134.4 kB / 0.7015 GB, free: 6.039 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.009678, allocations: 48.81 kB / 0.7015 GB, free: 5.988 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.009697, allocations: 4 kB / 0.7015 GB, free: 5.984 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.009958, allocations: 115.3 kB / 0.7017 GB, free: 5.859 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.00996, allocations: 0 / 0.7017 GB, free: 5.859 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005499/0.01051, allocations: 201.1 kB / 0.7018 GB, free: 5.66 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.01055, allocations: 55.41 kB / 0.7019 GB, free: 5.594 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.01068, allocations: 160.9 kB / 0.7021 GB, free: 5.43 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.0107, allocations: 29.7 kB / 0.7021 GB, free: 5.395 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.01076, allocations: 100.1 kB / 0.7022 GB, free: 5.293 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.0108, allocations: 55.62 kB / 0.7022 GB, free: 5.238 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.01087, allocations: 33.7 kB / 0.7023 GB, free: 5.199 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.228e-05/0.01091, allocations: 326.8 kB / 0.7026 GB, free: 4.871 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.01108, allocations: 81.66 kB / 0.7026 GB, free: 4.785 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.01128, allocations: 203.8 kB / 0.7028 GB, free: 4.551 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.01155, allocations: 140.4 kB / 0.703 GB, free: 4.406 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.01155, allocations: 3.938 kB / 0.703 GB, free: 4.402 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003739/0.01193, allocations: 244.8 kB / 0.7032 GB, free: 4.145 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.01196, allocations: 33.7 kB / 0.7032 GB, free: 4.105 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.01197, allocations: 4.047 kB / 0.7033 GB, free: 4.102 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.01199, allocations: 3.984 kB / 0.7033 GB, free: 4.098 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.01215, allocations: 35.91 kB / 0.7033 GB, free: 4.062 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.01216, allocations: 0 / 0.7033 GB, free: 4.062 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.0123, allocations: 19.92 kB / 0.7033 GB, free: 4.043 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.01231, allocations: 4 kB / 0.7033 GB, free: 4.039 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.014e-05/0.01239, allocations: 130.4 kB / 0.7034 GB, free: 3.902 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.01241, allocations: 11.91 kB / 0.7034 GB, free: 3.891 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.0128, allocations: 174.3 kB / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.01281, allocations: 4 kB / 0.7036 GB, free: 3.715 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.01281, allocations: 3.984 kB / 0.7036 GB, free: 3.711 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01282, allocations: 0 / 0.7036 GB, free: 3.711 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.01295, allocations: 145.2 kB / 0.7038 GB, free: 3.539 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.01295, allocations: 3.938 kB / 0.7038 GB, free: 3.535 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.01311, allocations: 23.98 kB / 0.7038 GB, free: 3.512 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.01311, allocations: 4 kB / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.01313, allocations: 7.984 kB / 0.7038 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01313, allocations: 3.938 kB / 0.7038 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.01314, allocations: 0 / 0.7038 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005149/0.01365, allocations: 244.9 kB / 0.704 GB, free: 3.238 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.01369, allocations: 19.86 kB / 0.7041 GB, free: 3.219 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.01372, allocations: 12.06 kB / 0.7041 GB, free: 3.207 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.01384, allocations: 11.98 kB / 0.7041 GB, free: 3.195 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.01394, allocations: 15.97 kB / 0.7041 GB, free: 3.18 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.01395, allocations: 7.938 kB / 0.7041 GB, free: 3.172 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.181e-05/0.01404, allocations: 123.1 kB / 0.7042 GB, free: 3.051 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.3e-07/0.01404, allocations: 0 / 0.7042 GB, free: 3.051 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002471/0.01429, allocations: 32 kB / 0.7042 GB, free: 3.02 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.0001954/0.01449, allocations: 99.25 kB / 0.7043 GB, free: 2.91 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004623/0.01495, allocations: 219.4 kB / 0.7046 GB, free: 2.68 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.01495, allocations: 0 / 0.7046 GB, free: 2.68 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.01513, allocations: 63.89 kB / 0.7046 GB, free: 2.617 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.01548, allocations: 43.89 kB / 0.7047 GB, free: 2.574 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008795/0.01636, allocations: 338.7 kB / 0.705 GB, free: 2.215 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.8e-05/0.01643, allocations: 97.8 kB / 0.7051 GB, free: 2.102 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.214e-05/0.0165, allocations: 20.5 kB / 0.7051 GB, free: 2.078 MB / 410.8 MB Notification: Performance of SimCode: time 9.21e-07/0.0165, allocations: 4 kB / 0.7051 GB, free: 2.074 MB / 410.8 MB Notification: Performance of Templates: time 0.003738/0.02024, allocations: 2.055 MB / 0.7071 GB, free: 36 kB / 410.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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.589983997866511]