Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.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.0009001/0.0009001, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001309/0.00221, allocations: 455.9 kB / 10.35 MB, free: 348 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.0009617/0.0009617, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002226, allocations: 475.7 kB / 11.7 MB, free: 2.465 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 1.005/1.005, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1064/1.111, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.7632/0.7632, allocations: 291.2 MB / 0.5227 GB, free: 52.72 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02888/0.7921, allocations: 21.04 MB / 0.5432 GB, free: 31.75 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.Diazoxon.Diazoxon,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 3.938 kB / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.626e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon): time 0.003523/0.00355, allocations: 1.956 MB / 0.5466 GB, free: 28.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009822/0.004532, allocations: 0.5731 MB / 0.5471 GB, free: 27.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.949e-05/0.004611, allocations: 3.938 kB / 0.5471 GB, free: 27.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.057e-05/0.004672, allocations: 11.86 kB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.004971, allocations: 67.53 kB / 0.5472 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.005173, allocations: 71.77 kB / 0.5473 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.005418, allocations: 160 kB / 0.5474 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.53e-05/0.005473, allocations: 9.906 kB / 0.5474 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.005682, allocations: 119.8 kB / 0.5475 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.005924, allocations: 79.77 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.005956, allocations: 8 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.066e-05/0.005986, allocations: 4 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.006043, allocations: 27.88 kB / 0.5477 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.87e-05/0.006112, allocations: 31.92 kB / 0.5477 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.00627, allocations: 71.77 kB / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.67e-05/0.006287, allocations: 0 / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.006289, allocations: 0 / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.006307, allocations: 0 / 0.5478 GB, free: 27.11 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.0007302/0.007037, allocations: 392.1 kB / 0.5481 GB, free: 26.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.007075, allocations: 11.89 kB / 0.5481 GB, free: 26.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.007131, allocations: 16.05 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.007325, allocations: 161.8 kB / 0.5483 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.007351, allocations: 8.375 kB / 0.5483 GB, free: 26.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.007384, allocations: 8.375 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.007565, allocations: 81.02 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.007579, allocations: 3.938 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.007591, allocations: 4 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.007598, allocations: 0 / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.138e-05/0.00767, allocations: 23.98 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.008018, allocations: 201.8 kB / 0.5486 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.00817, allocations: 114.9 kB / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.008216, allocations: 24.84 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.008238, allocations: 0 / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.008405, allocations: 90.23 kB / 0.5489 GB, free: 25.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.245e-06/0.008408, allocations: 7.984 kB / 0.5489 GB, free: 25.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002195/0.008627, allocations: 89.59 kB / 0.5489 GB, free: 25.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.008661, allocations: 59.39 kB / 0.549 GB, free: 25.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.00877, allocations: 142.6 kB / 0.5491 GB, free: 25.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.008789, allocations: 33.7 kB / 0.5492 GB, free: 25.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.00883, allocations: 96.06 kB / 0.5493 GB, free: 25.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.008872, allocations: 47.61 kB / 0.5493 GB, free: 25.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/0.008944, allocations: 37.66 kB / 0.5493 GB, free: 25.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.008994, allocations: 326.8 kB / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.778e-05/0.009052, allocations: 44.52 kB / 0.5497 GB, free: 24.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.854e-05/0.00914, allocations: 162.1 kB / 0.5499 GB, free: 24.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.009242, allocations: 88.09 kB / 0.5499 GB, free: 24.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.009244, allocations: 0 / 0.5499 GB, free: 24.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001658/0.00941, allocations: 151 kB / 0.5501 GB, free: 24.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.009444, allocations: 33.69 kB / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.009449, allocations: 0 / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.009459, allocations: 0 / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.009615, allocations: 35.92 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.009618, allocations: 0 / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.009734, allocations: 19.98 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.009748, allocations: 4 kB / 0.5502 GB, free: 24.41 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.683e-05/0.009815, allocations: 116.7 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.009841, allocations: 19.92 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.009995, allocations: 94.36 kB / 0.5504 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.009998, allocations: 4 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.01, allocations: 224 / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.01, allocations: 0 / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.01013, allocations: 101.7 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01013, allocations: 7.438 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.01026, allocations: 27.98 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.01028, allocations: 7.953 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.01028, allocations: 3.938 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.0103, allocations: 7.984 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.0103, allocations: 0 / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.01031, allocations: 0 / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.01052, allocations: 134.6 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.01055, allocations: 3.938 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.01064, allocations: 15.98 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.0107, allocations: 16 kB / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.01071, allocations: 0 / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.746e-05/0.01075, allocations: 47.92 kB / 0.5508 GB, free: 23.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01075, allocations: 0 / 0.5508 GB, free: 23.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002783/0.01103, allocations: 32 kB / 0.5508 GB, free: 23.73 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.794e-05/0.01112, allocations: 80.36 kB / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.01131, allocations: 153.9 kB / 0.551 GB, free: 23.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.01131, allocations: 3.938 kB / 0.551 GB, free: 23.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.677e-05/0.0114, allocations: 49.59 kB / 0.5511 GB, free: 23.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.01164, allocations: 57.38 kB / 0.5511 GB, free: 23.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004673/0.01631, allocations: 346.2 kB / 0.5514 GB, free: 23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.01635, allocations: 71.84 kB / 0.5515 GB, free: 22.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.152e-05/0.01644, allocations: 17.52 kB / 0.5515 GB, free: 22.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.0166, allocations: 87.34 kB / 0.5516 GB, free: 22.81 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0166, allocations: 0 / 0.5516 GB, free: 22.81 MB / 410.7 MB Notification: Performance of Templates: time 0.005711/0.02232, allocations: 2.733 MB / 0.5543 GB, free: 20.14 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.351964933797717]