Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.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.0006826/0.0006826, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009493/0.001632, allocations: 443.8 kB / 10.3 MB, free: 400 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.00112/0.00112, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.002478, allocations: 463.6 kB / 11.64 MB, free: 2.527 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 0.9349/0.9349, allocations: 177.2 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09834/1.033, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7766/0.7766, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02606/0.8026, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.Testosterone.Testosterone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.709e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone): time 0.00293/0.002957, allocations: 1.955 MB / 0.5464 GB, free: 28.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.003959, allocations: 0.5691 MB / 0.5469 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.843e-05/0.004027, allocations: 3.938 kB / 0.5469 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.177e-05/0.004089, allocations: 11.92 kB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.004398, allocations: 71.41 kB / 0.547 GB, free: 27.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.004594, allocations: 59.89 kB / 0.5471 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.004816, allocations: 172 kB / 0.5472 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.004864, allocations: 9.906 kB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.005061, allocations: 115.7 kB / 0.5474 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.0053, allocations: 71.84 kB / 0.5474 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.00533, allocations: 4 kB / 0.5474 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.745e-05/0.005357, allocations: 8 kB / 0.5474 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.005413, allocations: 35.86 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.709e-05/0.00547, allocations: 27.94 kB / 0.5475 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.005613, allocations: 79.67 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.865e-05/0.005632, allocations: 0 / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005633, allocations: 0 / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.005649, allocations: 0 / 0.5476 GB, free: 27.36 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.0007026/0.006351, allocations: 384.2 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.006388, allocations: 11.89 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.152e-05/0.00646, allocations: 20.92 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.006667, allocations: 157.9 kB / 0.5481 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.006698, allocations: 4.375 kB / 0.5481 GB, free: 26.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.006726, allocations: 8.375 kB / 0.5481 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.006896, allocations: 76.97 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.006905, allocations: 3.938 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.006919, allocations: 7.984 kB / 0.5482 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.006925, allocations: 0 / 0.5482 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.006993, allocations: 23.98 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.007327, allocations: 197.8 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.007483, allocations: 122.9 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/0.007524, allocations: 16.86 kB / 0.5486 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.007542, allocations: 4.219 kB / 0.5486 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.007687, allocations: 94.16 kB / 0.5487 GB, free: 26.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.007689, allocations: 0 / 0.5487 GB, free: 26.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001932/0.007882, allocations: 85.66 kB / 0.5487 GB, free: 26.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.007914, allocations: 59.34 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.671e-05/0.00801, allocations: 154.6 kB / 0.549 GB, free: 25.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.008028, allocations: 29.7 kB / 0.549 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.008063, allocations: 96.06 kB / 0.5491 GB, free: 25.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.008096, allocations: 35.69 kB / 0.5491 GB, free: 25.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.008159, allocations: 49.62 kB / 0.5492 GB, free: 25.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.815e-05/0.008207, allocations: 318.8 kB / 0.5495 GB, free: 25.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.269e-05/0.00826, allocations: 48.53 kB / 0.5495 GB, free: 25.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.571e-05/0.008336, allocations: 161.2 kB / 0.5497 GB, free: 25.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.199e-05/0.008428, allocations: 80.16 kB / 0.5497 GB, free: 24.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.008431, allocations: 4 kB / 0.5497 GB, free: 24.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001483/0.008579, allocations: 151.8 kB / 0.5499 GB, free: 24.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.008613, allocations: 36.52 kB / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.008619, allocations: 3.984 kB / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.008629, allocations: 0 / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.008784, allocations: 31.98 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.008787, allocations: 4 kB / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.008899, allocations: 15.92 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.008915, allocations: 7.125 kB / 0.55 GB, free: 24.67 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 6.478e-05/0.00898, allocations: 128.6 kB / 0.5501 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.009004, allocations: 11.94 kB / 0.5501 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.009155, allocations: 94.42 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.009158, allocations: 0 / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.009161, allocations: 2.75 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.009166, allocations: 7.984 kB / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.009273, allocations: 101.8 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.009275, allocations: 0 / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.009401, allocations: 27.92 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.009425, allocations: 7.953 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.009428, allocations: 3.938 kB / 0.5503 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.009443, allocations: 4 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.009445, allocations: 0 / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.009447, allocations: 4 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.009643, allocations: 139.2 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.009671, allocations: 7.938 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-05/0.009753, allocations: 11.98 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.009808, allocations: 7.984 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.009819, allocations: 11.98 kB / 0.5505 GB, free: 24.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.414e-05/0.009863, allocations: 34.53 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.009863, allocations: 4.031 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.01008, allocations: 35.94 kB / 0.5506 GB, free: 23.98 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 0.0001184/0.0102, allocations: 88.39 kB / 0.5507 GB, free: 23.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.01037, allocations: 146 kB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.01038, allocations: 8 kB / 0.5508 GB, free: 23.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.952e-05/0.01044, allocations: 28.84 kB / 0.5509 GB, free: 23.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.01066, allocations: 55.59 kB / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.01499, allocations: 387.8 kB / 0.5513 GB, free: 23.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.189e-05/0.01505, allocations: 101.8 kB / 0.5514 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.01525, allocations: 87.34 kB / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.01526, allocations: 0 / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of Templates: time 0.00321/0.01846, allocations: 2.037 MB / 0.5534 GB, free: 21.01 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1481450805440545]