Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.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.001136/0.001136, 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.001034/0.001034, 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.9452/0.9452, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.6403/0.6403, allocations: 291.1 MB / 0.5382 GB, free: 51.88 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.NickelOxide.NickelOxide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.67e-05, allocations: 5.234 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide): time 0.001793/0.00182, allocations: 1.837 MB / 0.6992 GB, free: 8.527 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006165/0.002436, allocations: 0.546 MB / 0.6997 GB, free: 7.977 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.002484, allocations: 0 / 0.6997 GB, free: 7.977 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.984e-05/0.002564, allocations: 11.86 kB / 0.6997 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.002843, allocations: 75.47 kB / 0.6998 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.002954, allocations: 63.77 kB / 0.6998 GB, free: 7.828 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.003095, allocations: 171.3 kB / 0.7 GB, free: 7.66 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.003134, allocations: 5.312 kB / 0.7 GB, free: 7.656 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.372e-05/0.003228, allocations: 91.78 kB / 0.7001 GB, free: 7.566 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.0034, allocations: 79.77 kB / 0.7002 GB, free: 7.488 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.00342, allocations: 8 kB / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.003435, allocations: 8 kB / 0.7002 GB, free: 7.473 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.003482, allocations: 31.89 kB / 0.7002 GB, free: 7.441 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.003525, allocations: 43.84 kB / 0.7003 GB, free: 7.398 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.003634, allocations: 99.67 kB / 0.7004 GB, free: 7.301 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.003637, allocations: 4 kB / 0.7004 GB, free: 7.297 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.202e-06/0.003638, allocations: 0 / 0.7004 GB, free: 7.297 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.003643, allocations: 0 / 0.7004 GB, free: 7.297 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.0004843/0.004127, allocations: 391.5 kB / 0.7007 GB, free: 6.879 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.004158, allocations: 8.031 kB / 0.7007 GB, free: 6.871 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.004195, allocations: 16.84 kB / 0.7008 GB, free: 6.855 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.004314, allocations: 150.1 kB / 0.7009 GB, free: 6.684 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.004327, allocations: 8.375 kB / 0.7009 GB, free: 6.676 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.004353, allocations: 8.375 kB / 0.7009 GB, free: 6.668 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.004509, allocations: 98.19 kB / 0.701 GB, free: 6.566 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.004518, allocations: 7.875 kB / 0.701 GB, free: 6.559 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.004528, allocations: 7.984 kB / 0.701 GB, free: 6.551 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.004533, allocations: 0 / 0.701 GB, free: 6.551 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.004666, allocations: 83.86 kB / 0.7011 GB, free: 6.469 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.004958, allocations: 284.4 kB / 0.7014 GB, free: 6.16 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.005157, allocations: 126.4 kB / 0.7015 GB, free: 6.027 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.477e-05/0.005231, allocations: 56.81 kB / 0.7016 GB, free: 5.969 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.005244, allocations: 4 kB / 0.7016 GB, free: 5.965 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.005417, allocations: 115.2 kB / 0.7017 GB, free: 5.84 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.005418, allocations: 0 / 0.7017 GB, free: 5.84 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003122/0.00573, allocations: 196.8 kB / 0.7019 GB, free: 5.645 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.005765, allocations: 55.41 kB / 0.7019 GB, free: 5.578 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/0.005846, allocations: 164.9 kB / 0.7021 GB, free: 5.41 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.005857, allocations: 25.7 kB / 0.7021 GB, free: 5.379 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.005893, allocations: 108.1 kB / 0.7022 GB, free: 5.27 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.005913, allocations: 47.62 kB / 0.7022 GB, free: 5.223 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.005952, allocations: 37.7 kB / 0.7023 GB, free: 5.18 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.838e-05/0.005981, allocations: 322.8 kB / 0.7026 GB, free: 4.855 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.128e-05/0.006072, allocations: 81.66 kB / 0.7027 GB, free: 4.77 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.006178, allocations: 208.5 kB / 0.7029 GB, free: 4.531 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.006327, allocations: 142.5 kB / 0.703 GB, free: 4.383 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.006329, allocations: 7.938 kB / 0.703 GB, free: 4.375 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002062/0.006535, allocations: 239.2 kB / 0.7032 GB, free: 4.125 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.006555, allocations: 29.7 kB / 0.7033 GB, free: 4.09 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.006559, allocations: 7.984 kB / 0.7033 GB, free: 4.082 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.00657, allocations: 0 / 0.7033 GB, free: 4.082 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.257e-05/0.006662, allocations: 31.92 kB / 0.7033 GB, free: 4.051 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.006666, allocations: 0 / 0.7033 GB, free: 4.051 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.006741, allocations: 19.92 kB / 0.7033 GB, free: 4.031 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.00675, allocations: 8 kB / 0.7033 GB, free: 4.023 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 5.175e-05/0.006802, allocations: 130.4 kB / 0.7034 GB, free: 3.887 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.006814, allocations: 11.91 kB / 0.7035 GB, free: 3.875 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.007025, allocations: 170.3 kB / 0.7036 GB, free: 3.707 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007027, allocations: 0 / 0.7036 GB, free: 3.707 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.007031, allocations: 4.047 kB / 0.7036 GB, free: 3.703 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.007034, allocations: 3.984 kB / 0.7036 GB, free: 3.699 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.741e-05/0.007112, allocations: 149.2 kB / 0.7038 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007113, allocations: 7.938 kB / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.959e-05/0.007193, allocations: 23.97 kB / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.007195, allocations: 3.938 kB / 0.7038 GB, free: 3.488 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.007204, allocations: 4 kB / 0.7038 GB, free: 3.484 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007206, allocations: 0 / 0.7038 GB, free: 3.484 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.007207, allocations: 0 / 0.7038 GB, free: 3.484 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.007488, allocations: 248.9 kB / 0.704 GB, free: 3.223 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.007505, allocations: 19.86 kB / 0.7041 GB, free: 3.203 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.007524, allocations: 8.062 kB / 0.7041 GB, free: 3.195 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.244e-05/0.007576, allocations: 11.98 kB / 0.7041 GB, free: 3.184 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.007623, allocations: 15.97 kB / 0.7041 GB, free: 3.168 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.007631, allocations: 11.94 kB / 0.7041 GB, free: 3.156 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.139e-05/0.007672, allocations: 119.1 kB / 0.7042 GB, free: 3.039 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.007672, allocations: 4 kB / 0.7042 GB, free: 3.035 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000129/0.007801, allocations: 28 kB / 0.7043 GB, free: 3.008 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 8.018e-05/0.007881, allocations: 103.2 kB / 0.7044 GB, free: 2.895 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.008102, allocations: 213 kB / 0.7046 GB, free: 2.668 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008103, allocations: 0 / 0.7046 GB, free: 2.668 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.461e-05/0.008188, allocations: 59.89 kB / 0.7046 GB, free: 2.609 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.008381, allocations: 51.64 kB / 0.7047 GB, free: 2.562 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.008814, allocations: 343.1 kB / 0.705 GB, free: 2.195 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.917e-05/0.008853, allocations: 93.81 kB / 0.7051 GB, free: 2.086 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.008897, allocations: 20.48 kB / 0.7051 GB, free: 2.062 MB / 410.8 MB Notification: Performance of SimCode: time 5.11e-07/0.008898, allocations: 4 kB / 0.7051 GB, free: 2.059 MB / 410.8 MB Notification: Performance of Templates: time 0.002197/0.01109, allocations: 2.054 MB / 0.7071 GB, free: 20 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.371404852718115]