Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Garabedian1986_reference.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.005325/0.005325, allocations: 109.5 kB / 18.95 MB, free: 1.172 MB / 13.93 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.002555/0.002555, allocations: 218.2 kB / 22.25 MB, free: 3.559 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.713/1.713, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 178] 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 1.458/1.458, allocations: 316.7 MB / 0.6144 GB, free: 93.11 MB / 410.7 MB " [Timeout remaining time 178] 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.Alteplase.Alteplase_Garabedian1986_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Garabedian1986_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Garabedian1986_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Garabedian1986_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004553/0.004553, allocations: 77.53 kB / 0.775 GB, free: 14.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2166, allocations: 73.99 MB / 0.8472 GB, free: 4.93 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Garabedian1986_reference): time 0.004024/0.2206, allocations: 1.813 MB / 0.849 GB, free: 3.117 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.2219, allocations: 0.5416 MB / 0.8495 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.162e-05/0.222, allocations: 4 kB / 0.8495 GB, free: 2.57 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.2221, allocations: 12.42 kB / 0.8496 GB, free: 2.559 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.2225, allocations: 61.11 kB / 0.8496 GB, free: 2.5 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.2227, allocations: 65.7 kB / 0.8497 GB, free: 2.438 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000293/0.223, allocations: 163.3 kB / 0.8498 GB, free: 2.277 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.2231, allocations: 5.969 kB / 0.8498 GB, free: 2.273 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.2232, allocations: 76.27 kB / 0.8499 GB, free: 2.199 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.2235, allocations: 80.36 kB / 0.85 GB, free: 2.121 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.2235, allocations: 8 kB / 0.85 GB, free: 2.113 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.263e-05/0.2235, allocations: 12.53 kB / 0.85 GB, free: 2.102 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.939e-05/0.2236, allocations: 35.83 kB / 0.85 GB, free: 2.066 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.2237, allocations: 48.42 kB / 0.8501 GB, free: 2.02 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.2239, allocations: 92.73 kB / 0.8502 GB, free: 1.93 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.2239, allocations: 3.984 kB / 0.8502 GB, free: 1.926 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2239, allocations: 0 / 0.8502 GB, free: 1.926 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.2239, allocations: 0 / 0.8502 GB, free: 1.926 MB / 474.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.0009331/0.2249, allocations: 394.6 kB / 0.8506 GB, free: 1.508 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.2249, allocations: 11.89 kB / 0.8506 GB, free: 1.496 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.225, allocations: 20.84 kB / 0.8506 GB, free: 1.477 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.2252, allocations: 146.9 kB / 0.8507 GB, free: 1.309 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.2252, allocations: 14 kB / 0.8507 GB, free: 1.297 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.2253, allocations: 8.125 kB / 0.8507 GB, free: 1.289 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.2256, allocations: 109.4 kB / 0.8508 GB, free: 1.18 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2256, allocations: 0 / 0.8508 GB, free: 1.18 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.2256, allocations: 5.297 kB / 0.8509 GB, free: 1.176 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2256, allocations: 0 / 0.8509 GB, free: 1.176 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.2259, allocations: 82.52 kB / 0.8509 GB, free: 1.098 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005691/0.2265, allocations: 276.3 kB / 0.8512 GB, free: 0.7969 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/0.2269, allocations: 150.3 kB / 0.8513 GB, free: 0.6406 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.2271, allocations: 52.81 kB / 0.8514 GB, free: 0.5859 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.2271, allocations: 0.7812 kB / 0.8514 GB, free: 0.5859 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003088/0.2274, allocations: 112.4 kB / 0.8515 GB, free: 476 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.2274, allocations: 0 / 0.8515 GB, free: 476 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006693/0.2281, allocations: 206.7 kB / 0.8517 GB, free: 264 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.2282, allocations: 56.09 kB / 0.8517 GB, free: 196 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.2283, allocations: 150.5 kB / 0.8519 GB, free: 36 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/0.2284, allocations: 34.41 kB / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.324e-05/0.2285, allocations: 100.1 kB / 0.852 GB, free: 15.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.2286, allocations: 48.17 kB / 0.8521 GB, free: 15.84 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.179e-05/0.2286, allocations: 38.25 kB / 0.8521 GB, free: 15.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0004721/0.2291, allocations: 330.8 kB / 0.8524 GB, free: 15.47 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.2293, allocations: 82.84 kB / 0.8525 GB, free: 15.38 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.2296, allocations: 198.7 kB / 0.8527 GB, free: 15.15 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.23, allocations: 137.9 kB / 0.8528 GB, free: 15.01 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.23, allocations: 7.938 kB / 0.8528 GB, free: 15 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000511/0.2305, allocations: 237.9 kB / 0.8531 GB, free: 14.75 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.2306, allocations: 38.27 kB / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.2306, allocations: 0 / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.2306, allocations: 0.75 kB / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.2308, allocations: 24.55 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.2308, allocations: 7.938 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.231, allocations: 29.8 kB / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.231, allocations: 4 kB / 0.8532 GB, free: 14.65 MB / 490.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 0.0001397/0.2311, allocations: 126.2 kB / 0.8533 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.2311, allocations: 10.73 kB / 0.8533 GB, free: 14.51 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004982/0.2316, allocations: 174.4 kB / 0.8534 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2316, allocations: 0 / 0.8534 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2316, allocations: 0 / 0.8534 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2316, allocations: 224 / 0.8534 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.2318, allocations: 157 kB / 0.8536 GB, free: 14.15 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2318, allocations: 4.938 kB / 0.8536 GB, free: 14.15 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.232, allocations: 23.98 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.232, allocations: 1.969 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.232, allocations: 8 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.232, allocations: 0 / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.232, allocations: 4 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006397/0.2327, allocations: 254.7 kB / 0.8539 GB, free: 13.85 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.2327, allocations: 13.98 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.2327, allocations: 11.94 kB / 0.8539 GB, free: 13.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.2329, allocations: 7.984 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/0.2329, allocations: 19.97 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.2329, allocations: 0.5938 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001265/0.2331, allocations: 125.9 kB / 0.8541 GB, free: 13.68 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.2331, allocations: 0.625 kB / 0.8541 GB, free: 13.68 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002352/0.2333, allocations: 32 kB / 0.8541 GB, free: 13.65 MB / 490.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.0001433/0.2335, allocations: 104.5 kB / 0.8542 GB, free: 13.54 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004957/0.2339, allocations: 216.5 kB / 0.8544 GB, free: 13.31 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.234, allocations: 0 / 0.8544 GB, free: 13.31 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.2341, allocations: 64.98 kB / 0.8545 GB, free: 13.25 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.2345, allocations: 41.56 kB / 0.8545 GB, free: 13.21 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008244/0.2353, allocations: 326.6 kB / 0.8548 GB, free: 12.87 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.2354, allocations: 103.5 kB / 0.8549 GB, free: 12.75 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.2355, allocations: 24.05 kB / 0.8549 GB, free: 12.73 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.2356, allocations: 16.03 kB / 0.8549 GB, free: 12.71 MB / 490.8 MB Notification: Performance of SimCode: time 6.92e-07/0.2356, allocations: 0.5 kB / 0.8549 GB, free: 12.71 MB / 490.8 MB Notification: Performance of Templates: time 0.3081/0.5437, allocations: 2.627 MB / 0.8575 GB, free: 28.23 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Garabedian1986_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Garabedian1986_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Garabedian1986_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Garabedian1986_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Garabedian1986_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Garabedian1986_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Garabedian1986_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.464828992960975]