Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline.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.0009788/0.0009788, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001345/0.002324, allocations: 435.8 kB / 10.31 MB, free: 384 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.001074/0.001074, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001338/0.002412, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.9113/0.9113, allocations: 177.1 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08654/0.9979, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.6941/0.6941, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0288/0.7229, allocations: 21.03 MB / 0.5431 GB, free: 31.96 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.D_4Hydroxyproline.D_4Hydroxyproline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 3.938 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.774e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline): time 0.002322/0.002339, allocations: 1.959 MB / 0.5464 GB, free: 28.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007303/0.00307, allocations: 0.568 MB / 0.547 GB, free: 28.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.003124, allocations: 0 / 0.547 GB, free: 28.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.477e-05/0.003179, allocations: 15.84 kB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.003413, allocations: 71.48 kB / 0.5471 GB, free: 27.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.003566, allocations: 63.78 kB / 0.5471 GB, free: 27.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.003748, allocations: 172 kB / 0.5473 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.003787, allocations: 5.969 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.003946, allocations: 107.8 kB / 0.5474 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.004148, allocations: 83.77 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.004175, allocations: 8 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.329e-05/0.004198, allocations: 4 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.004246, allocations: 23.94 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.428e-05/0.004301, allocations: 27.94 kB / 0.5475 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.004432, allocations: 87.61 kB / 0.5476 GB, free: 27.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.469e-05/0.004447, allocations: 0 / 0.5476 GB, free: 27.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004448, allocations: 0 / 0.5476 GB, free: 27.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.004459, allocations: 0 / 0.5476 GB, free: 27.35 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.0005737/0.005032, allocations: 388.1 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.005064, allocations: 12.03 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.005113, allocations: 12.92 kB / 0.548 GB, free: 26.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.005263, allocations: 157.8 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.005285, allocations: 8.375 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.005306, allocations: 4.375 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.005451, allocations: 88.95 kB / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.005461, allocations: 3.938 kB / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.005471, allocations: 4 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.005476, allocations: 0 / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.15e-05/0.005528, allocations: 19.98 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.00581, allocations: 197.9 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.005937, allocations: 114.9 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.005972, allocations: 24.84 kB / 0.5486 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.005986, allocations: 0 / 0.5486 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.006113, allocations: 90.23 kB / 0.5487 GB, free: 26.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.006114, allocations: 4 kB / 0.5487 GB, free: 26.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001634/0.006278, allocations: 89.81 kB / 0.5488 GB, free: 26.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.006303, allocations: 55.41 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.006383, allocations: 150.6 kB / 0.549 GB, free: 25.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.006402, allocations: 33.7 kB / 0.549 GB, free: 25.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.006436, allocations: 96.06 kB / 0.5491 GB, free: 25.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.006468, allocations: 47.61 kB / 0.5491 GB, free: 25.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.006522, allocations: 41.64 kB / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.00656, allocations: 326.8 kB / 0.5495 GB, free: 25.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.513e-05/0.006605, allocations: 44.52 kB / 0.5495 GB, free: 25.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.006671, allocations: 158.1 kB / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.97e-05/0.006751, allocations: 84.16 kB / 0.5498 GB, free: 24.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.006753, allocations: 0 / 0.5498 GB, free: 24.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001297/0.006883, allocations: 154.6 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.006911, allocations: 29.7 kB / 0.5499 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.006915, allocations: 0 / 0.5499 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.006926, allocations: 3.984 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.007062, allocations: 31.98 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.007066, allocations: 3.625 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.007258, allocations: 19.98 kB / 0.55 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.007275, allocations: 4 kB / 0.55 GB, free: 24.66 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 7.244e-05/0.007347, allocations: 120.6 kB / 0.5501 GB, free: 24.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.007369, allocations: 19.92 kB / 0.5501 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.007511, allocations: 90.42 kB / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.007514, allocations: 4 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.007516, allocations: 48 / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.00752, allocations: 3.984 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.107e-05/0.007601, allocations: 97.75 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007602, allocations: 4 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-05/0.007695, allocations: 31.92 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.007712, allocations: 7.953 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.007715, allocations: 3.938 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.007728, allocations: 7.984 kB / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.00773, allocations: 0 / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007731, allocations: 0 / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.007872, allocations: 135.3 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.007888, allocations: 3.938 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.146e-05/0.007949, allocations: 15.98 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.007987, allocations: 16 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.007993, allocations: 11.88 kB / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.818e-05/0.008021, allocations: 38.52 kB / 0.5506 GB, free: 24 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008021, allocations: 0 / 0.5506 GB, free: 24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000114/0.008135, allocations: 35.98 kB / 0.5506 GB, free: 23.97 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 8.145e-05/0.008216, allocations: 76.42 kB / 0.5507 GB, free: 23.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.008348, allocations: 154 kB / 0.5508 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.008351, allocations: 0 / 0.5508 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.937e-05/0.00839, allocations: 44.83 kB / 0.5509 GB, free: 23.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.008543, allocations: 61 kB / 0.551 GB, free: 23.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.01101, allocations: 350.2 kB / 0.5513 GB, free: 23.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.383e-05/0.01104, allocations: 67.84 kB / 0.5513 GB, free: 23.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.114e-05/0.0111, allocations: 21.42 kB / 0.5514 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.0112, allocations: 91.34 kB / 0.5515 GB, free: 23.05 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.0112, allocations: 0 / 0.5515 GB, free: 23.05 MB / 410.7 MB Notification: Performance of Templates: time 0.003648/0.01485, allocations: 2.731 MB / 0.5541 GB, free: 20.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0391997369006276]