Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD01_Erenumab.Erenumab_Vu2017_PD_dbf.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.001241/0.001241, allocations: 104.3 kB / 19.71 MB, free: 440 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.001325/0.001325, allocations: 217.3 kB / 23 MB, free: 2.965 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.9958/0.9958, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.7498/0.7498, allocations: 312.3 MB / 0.6108 GB, free: 97.48 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.N_NervousSystem.N02C_AntimigrainePreparations.N02CD01_Erenumab.Erenumab_Vu2017_PD_dbf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD01_Erenumab.Erenumab_Vu2017_PD_dbf") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD01_Erenumab.Erenumab_Vu2017_PD_dbf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD01_Erenumab.Erenumab_Vu2017_PD_dbf") [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.001578/0.001578, allocations: 75.31 kB / 0.7698 GB, free: 20.19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1308, allocations: 73.99 MB / 0.8421 GB, free: 10.33 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD01_Erenumab.Erenumab_Vu2017_PD_dbf): time 0.001459/0.1322, allocations: 0.6338 MB / 0.8427 GB, free: 9.715 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.642e-05/0.1323, allocations: 12.45 kB / 0.8427 GB, free: 9.703 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.1323, allocations: 0.6562 kB / 0.8427 GB, free: 9.703 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.1323, allocations: 0 / 0.8427 GB, free: 9.703 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 2.882e-05/0.1323, allocations: 4.625 kB / 0.8427 GB, free: 9.699 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.506e-05/0.1324, allocations: 11.92 kB / 0.8427 GB, free: 9.688 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.976e-05/0.1325, allocations: 12.61 kB / 0.8428 GB, free: 9.676 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.46e-05/0.1325, allocations: 4.625 kB / 0.8428 GB, free: 9.672 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.661e-05/0.1325, allocations: 0 / 0.8428 GB, free: 9.672 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.209e-05/0.1326, allocations: 12.55 kB / 0.8428 GB, free: 9.66 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.1326, allocations: 0 / 0.8428 GB, free: 9.66 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.101e-06/0.1326, allocations: 4.531 kB / 0.8428 GB, free: 9.656 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.1326, allocations: 4.688 kB / 0.8428 GB, free: 9.652 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.1327, allocations: 3.938 kB / 0.8428 GB, free: 9.648 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.058e-05/0.1327, allocations: 16.94 kB / 0.8428 GB, free: 9.633 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1327, allocations: 0 / 0.8428 GB, free: 9.633 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1327, allocations: 3.938 kB / 0.8428 GB, free: 9.629 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.1327, allocations: 0.5625 kB / 0.8428 GB, free: 9.629 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003554/0.1331, allocations: 259 kB / 0.8431 GB, free: 9.344 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1331, allocations: 12.66 kB / 0.8431 GB, free: 9.332 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.1332, allocations: 0.9375 kB / 0.8431 GB, free: 9.332 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.353e-05/0.1333, allocations: 118.9 kB / 0.8432 GB, free: 9.191 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.1333, allocations: 0.9375 kB / 0.8432 GB, free: 9.191 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.1333, allocations: 384 / 0.8432 GB, free: 9.191 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.796e-05/0.1334, allocations: 42.75 kB / 0.8432 GB, free: 9.145 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.1334, allocations: 0.8125 kB / 0.8432 GB, free: 9.145 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1334, allocations: 3.938 kB / 0.8432 GB, free: 9.141 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1334, allocations: 0.5625 kB / 0.8432 GB, free: 9.141 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.696e-05/0.1334, allocations: 12.47 kB / 0.8432 GB, free: 9.129 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.1336, allocations: 109.2 kB / 0.8433 GB, free: 8.992 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.1337, allocations: 47.33 kB / 0.8434 GB, free: 8.938 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.1338, allocations: 17.36 kB / 0.8434 GB, free: 8.918 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.1338, allocations: 4.531 kB / 0.8434 GB, free: 8.914 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.1338, allocations: 30.56 kB / 0.8434 GB, free: 8.875 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.1338, allocations: 4.547 kB / 0.8434 GB, free: 8.871 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001416/0.134, allocations: 62.27 kB / 0.8435 GB, free: 8.805 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.134, allocations: 51.97 kB / 0.8436 GB, free: 8.742 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.721e-05/0.134, allocations: 101.8 kB / 0.8437 GB, free: 8.633 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.134, allocations: 26.33 kB / 0.8437 GB, free: 8.602 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1342, allocations: 88.14 kB / 0.8438 GB, free: 8.512 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.1342, allocations: 8.5 kB / 0.8438 GB, free: 8.504 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.1342, allocations: 22.33 kB / 0.8438 GB, free: 8.477 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.1343, allocations: 310.8 kB / 0.8441 GB, free: 8.164 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.1343, allocations: 4.625 kB / 0.8441 GB, free: 8.16 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.1343, allocations: 8.25 kB / 0.8441 GB, free: 8.152 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.558e-05/0.1343, allocations: 25.53 kB / 0.8441 GB, free: 8.125 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1343, allocations: 4.562 kB / 0.8441 GB, free: 8.121 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.147e-05/0.1344, allocations: 45.64 kB / 0.8442 GB, free: 8.07 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1344, allocations: 12.58 kB / 0.8442 GB, free: 8.059 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1344, allocations: 0.8438 kB / 0.8442 GB, free: 8.059 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1344, allocations: 3.938 kB / 0.8442 GB, free: 8.055 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.628e-05/0.1345, allocations: 4 kB / 0.8442 GB, free: 8.051 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1345, allocations: 0.5 kB / 0.8442 GB, free: 8.051 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.1345, allocations: 16.58 kB / 0.8442 GB, free: 8.035 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1345, allocations: 0 / 0.8442 GB, free: 8.035 MB / 474.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 5.302e-05/0.1345, allocations: 106.6 kB / 0.8443 GB, free: 7.922 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-06/0.1345, allocations: 4.625 kB / 0.8443 GB, free: 7.918 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.939e-05/0.1346, allocations: 7.688 kB / 0.8443 GB, free: 7.91 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1346, allocations: 4.562 kB / 0.8443 GB, free: 7.906 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.1346, allocations: 4.578 kB / 0.8443 GB, free: 7.902 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1346, allocations: 4 kB / 0.8443 GB, free: 7.898 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.345e-05/0.1346, allocations: 101.9 kB / 0.8444 GB, free: 7.77 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1346, allocations: 0.7188 kB / 0.8444 GB, free: 7.77 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.1347, allocations: 7.938 kB / 0.8444 GB, free: 7.762 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1347, allocations: 4.594 kB / 0.8444 GB, free: 7.758 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1347, allocations: 0 / 0.8444 GB, free: 7.758 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1347, allocations: 4.672 kB / 0.8444 GB, free: 7.754 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1347, allocations: 7.875 kB / 0.8445 GB, free: 7.746 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.043e-05/0.1347, allocations: 77.7 kB / 0.8445 GB, free: 7.652 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-06/0.1347, allocations: 0.5938 kB / 0.8445 GB, free: 7.652 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.1348, allocations: 7.938 kB / 0.8445 GB, free: 7.645 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-06/0.1348, allocations: 0.625 kB / 0.8445 GB, free: 7.645 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.1348, allocations: 3.938 kB / 0.8445 GB, free: 7.641 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.1348, allocations: 0.5312 kB / 0.8445 GB, free: 7.641 MB / 474.8 MB Notification: Performance of sorting global known variables: time 3.009e-05/0.1348, allocations: 87.83 kB / 0.8446 GB, free: 7.555 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1348, allocations: 0 / 0.8446 GB, free: 7.555 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001061/0.1349, allocations: 4.5 kB / 0.8446 GB, free: 7.551 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.599e-05/0.135, allocations: 102.8 kB / 0.8447 GB, free: 7.441 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.115e-05/0.1351, allocations: 24.3 kB / 0.8448 GB, free: 7.418 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1351, allocations: 0.5938 kB / 0.8448 GB, free: 7.418 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.294e-05/0.1351, allocations: 12.72 kB / 0.8448 GB, free: 7.406 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.1352, allocations: 4.031 kB / 0.8448 GB, free: 7.406 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.1354, allocations: 143.3 kB / 0.8449 GB, free: 7.234 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.022e-05/0.1355, allocations: 67.84 kB / 0.845 GB, free: 7.148 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.1355, allocations: 8 kB / 0.845 GB, free: 7.141 MB / 474.8 MB Notification: Performance of SimCode: time 5.71e-07/0.1355, allocations: 0 / 0.845 GB, free: 7.141 MB / 474.8 MB Notification: Performance of Templates: time 0.001407/0.1369, allocations: 0.5063 MB / 0.8455 GB, free: 6.652 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD01_Erenumab.Erenumab_Vu2017_PD_dbf.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD01_Erenumab.Erenumab_Vu2017_PD_dbf.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD01_Erenumab.Erenumab_Vu2017_PD_dbf.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD01_Erenumab.Erenumab_Vu2017_PD_dbf.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD01_Erenumab.Erenumab_Vu2017_PD_dbf.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD01_Erenumab.Erenumab_Vu2017_PD_dbf > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD01_Erenumab.Erenumab_Vu2017_PD_dbf.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.921913435682654]