Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08C_MagneticResonanceImagingContrastMedia.V08CA12_Gadopiclenol.Gadopiclenol.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.00123/0.00123, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 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.001103/0.001103, allocations: 213.3 kB / 23 MB, free: 2.977 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.011/1.011, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.7445/0.7445, allocations: 312.3 MB / 0.6108 GB, free: 97.59 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.Drugs.V_Various.V08C_MagneticResonanceImagingContrastMedia.V08CA12_Gadopiclenol.Gadopiclenol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08C_MagneticResonanceImagingContrastMedia.V08CA12_Gadopiclenol.Gadopiclenol") translateModel(Pharmacolibrary.Drugs.V_Various.V08C_MagneticResonanceImagingContrastMedia.V08CA12_Gadopiclenol.Gadopiclenol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08C_MagneticResonanceImagingContrastMedia.V08CA12_Gadopiclenol.Gadopiclenol") [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.001384/0.001384, allocations: 75.41 kB / 0.7699 GB, free: 20.21 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1236, allocations: 73.98 MB / 0.8421 GB, free: 10.36 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V08C_MagneticResonanceImagingContrastMedia.V08CA12_Gadopiclenol.Gadopiclenol): time 0.002701/0.1263, allocations: 2.302 MB / 0.8444 GB, free: 8.055 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005186/0.1315, allocations: 6.532 MB / 0.8508 GB, free: 1.52 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.235e-05/0.1316, allocations: 0.5938 kB / 0.8508 GB, free: 1.52 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.1317, allocations: 23.72 kB / 0.8508 GB, free: 1.496 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1319, allocations: 88.47 kB / 0.8509 GB, free: 1.41 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.1321, allocations: 48.44 kB / 0.8509 GB, free: 1.363 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.1323, allocations: 255.3 kB / 0.8512 GB, free: 1.113 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1325, allocations: 41.16 kB / 0.8512 GB, free: 1.074 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.979e-05/0.1326, allocations: 91.66 kB / 0.8513 GB, free: 0.9844 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.1327, allocations: 104.1 kB / 0.8514 GB, free: 0.8828 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.1328, allocations: 16.59 kB / 0.8514 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.497e-05/0.1328, allocations: 16 kB / 0.8514 GB, free: 0.8516 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.123e-05/0.1328, allocations: 36.44 kB / 0.8514 GB, free: 0.8164 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.524e-05/0.1329, allocations: 96.16 kB / 0.8515 GB, free: 0.7227 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1331, allocations: 191.2 kB / 0.8517 GB, free: 0.5352 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1331, allocations: 0.7188 kB / 0.8517 GB, free: 0.5352 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1331, allocations: 0 / 0.8517 GB, free: 0.5352 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1331, allocations: 4.531 kB / 0.8517 GB, free: 0.5312 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006901/0.1338, allocations: 0.4909 MB / 0.8522 GB, free: 16 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1338, allocations: 8.031 kB / 0.8522 GB, free: 15.99 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.1339, allocations: 25.39 kB / 0.8522 GB, free: 15.96 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.1341, allocations: 183.1 kB / 0.8524 GB, free: 15.76 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1341, allocations: 13.14 kB / 0.8524 GB, free: 15.75 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.1341, allocations: 20.48 kB / 0.8524 GB, free: 15.73 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.1344, allocations: 191 kB / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1344, allocations: 8.516 kB / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1344, allocations: 4 kB / 0.8526 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1344, allocations: 4.625 kB / 0.8526 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.1346, allocations: 142.9 kB / 0.8528 GB, free: 15.36 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006365/0.1352, allocations: 495 kB / 0.8532 GB, free: 14.85 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.1356, allocations: 173.2 kB / 0.8534 GB, free: 14.66 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.1357, allocations: 99.05 kB / 0.8535 GB, free: 14.56 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-06/0.1357, allocations: 0.6562 kB / 0.8535 GB, free: 14.56 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.1359, allocations: 223.2 kB / 0.8537 GB, free: 14.31 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.1359, allocations: 0.5312 kB / 0.8537 GB, free: 14.31 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009252/0.1368, allocations: 0.701 MB / 0.8544 GB, free: 13.55 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.1369, allocations: 137 kB / 0.8545 GB, free: 13.39 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.137, allocations: 220 kB / 0.8547 GB, free: 13.16 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1371, allocations: 30.39 kB / 0.8548 GB, free: 13.13 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.1371, allocations: 132.5 kB / 0.8549 GB, free: 13 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.1372, allocations: 72.09 kB / 0.855 GB, free: 12.93 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/0.1372, allocations: 62.19 kB / 0.855 GB, free: 12.86 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.1373, allocations: 342.8 kB / 0.8554 GB, free: 12.52 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.1374, allocations: 145.6 kB / 0.8555 GB, free: 12.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.1376, allocations: 218.1 kB / 0.8557 GB, free: 12.1 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2355/0.3731, allocations: 286.7 kB / 0.856 GB, free: 30.31 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3731, allocations: 5 kB / 0.856 GB, free: 30.31 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003762/0.3735, allocations: 383.3 kB / 0.8563 GB, free: 30.15 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.3735, allocations: 69.44 kB / 0.8564 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3735, allocations: 1.969 kB / 0.8564 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3735, allocations: 3.906 kB / 0.8564 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.3736, allocations: 51.53 kB / 0.8565 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3737, allocations: 3.719 kB / 0.8565 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.3738, allocations: 19.55 kB / 0.8565 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.3738, allocations: 9.438 kB / 0.8565 GB, free: 30.09 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001446/0.3739, allocations: 174.9 kB / 0.8567 GB, free: 29.95 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.3739, allocations: 25.14 kB / 0.8567 GB, free: 29.95 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.374, allocations: 24.25 kB / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.374, allocations: 5.031 kB / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.374, allocations: 2.406 kB / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.374, allocations: 0.7031 kB / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.3744, allocations: 0.5328 MB / 0.8572 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3744, allocations: 0 / 0.8572 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.889e-05/0.3745, allocations: 38.58 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3745, allocations: 0 / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3745, allocations: 11.47 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3745, allocations: 3.938 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3745, allocations: 1.906 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.3749, allocations: 0.4923 MB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.3749, allocations: 17.48 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.375, allocations: 16.16 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.375, allocations: 16.95 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.3751, allocations: 20.52 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.3751, allocations: 8.266 kB / 0.8579 GB, free: 29.41 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.384e-05/0.3752, allocations: 158.2 kB / 0.858 GB, free: 29.34 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.3752, allocations: 3.031 kB / 0.858 GB, free: 29.34 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001817/0.3754, allocations: 53.09 kB / 0.8581 GB, free: 29.34 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 7.399e-05/0.3754, allocations: 112 kB / 0.8582 GB, free: 29.25 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.3757, allocations: 382.7 kB / 0.8585 GB, free: 29.03 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.3757, allocations: 0 / 0.8585 GB, free: 29.03 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.3759, allocations: 174.4 kB / 0.8587 GB, free: 28.93 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.3761, allocations: 65.12 kB / 0.8588 GB, free: 28.93 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007536/0.3769, allocations: 0.7108 MB / 0.8594 GB, free: 28.62 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.525e-05/0.3769, allocations: 123.5 kB / 0.8596 GB, free: 28.54 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.377, allocations: 23.12 kB / 0.8596 GB, free: 28.54 MB / 490.8 MB Notification: Performance of SimCode: time 4.1e-07/0.377, allocations: 0.6562 kB / 0.8596 GB, free: 28.54 MB / 490.8 MB Notification: Performance of Templates: time 0.003327/0.3803, allocations: 2.944 MB / 0.8625 GB, free: 28.32 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08C_MagneticResonanceImagingContrastMedia.V08CA12_Gadopiclenol.Gadopiclenol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08C_MagneticResonanceImagingContrastMedia.V08CA12_Gadopiclenol.Gadopiclenol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08C_MagneticResonanceImagingContrastMedia.V08CA12_Gadopiclenol.Gadopiclenol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08C_MagneticResonanceImagingContrastMedia.V08CA12_Gadopiclenol.Gadopiclenol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08C_MagneticResonanceImagingContrastMedia.V08CA12_Gadopiclenol.Gadopiclenol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08C_MagneticResonanceImagingContrastMedia.V08CA12_Gadopiclenol.Gadopiclenol > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08C_MagneticResonanceImagingContrastMedia.V08CA12_Gadopiclenol.Gadopiclenol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.002402408979833]