Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.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.0009877/0.0009877, allocations: 108.3 kB / 19.71 MB, free: 432 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.001051/0.001051, allocations: 219 kB / 23.01 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 1.045/1.045, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.7296/0.7296, allocations: 312.3 MB / 0.6108 GB, free: 97.49 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.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg") [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.001617/0.001617, allocations: 73.08 kB / 0.7698 GB, free: 20.2 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1342, allocations: 74 MB / 0.8421 GB, free: 10.34 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg): time 0.001695/0.1359, allocations: 0.6239 MB / 0.8427 GB, free: 9.73 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.045e-05/0.1359, allocations: 20.47 kB / 0.8427 GB, free: 9.711 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.136, allocations: 0 / 0.8427 GB, free: 9.711 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.136, allocations: 0.5938 kB / 0.8427 GB, free: 9.711 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.769e-05/0.136, allocations: 4.625 kB / 0.8427 GB, free: 9.707 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.067e-05/0.1361, allocations: 3.938 kB / 0.8427 GB, free: 9.703 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.874e-05/0.1361, allocations: 16.61 kB / 0.8428 GB, free: 9.688 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.1362, allocations: 0.7188 kB / 0.8428 GB, free: 9.688 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.921e-05/0.1362, allocations: 11.92 kB / 0.8428 GB, free: 9.676 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.305e-05/0.1362, allocations: 12.62 kB / 0.8428 GB, free: 9.664 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.1362, allocations: 0 / 0.8428 GB, free: 9.664 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.639e-06/0.1363, allocations: 0.75 kB / 0.8428 GB, free: 9.664 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.1363, allocations: 3.984 kB / 0.8428 GB, free: 9.66 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.1363, allocations: 8.5 kB / 0.8428 GB, free: 9.652 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.027e-05/0.1364, allocations: 19.91 kB / 0.8428 GB, free: 9.633 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1364, allocations: 0.5 kB / 0.8428 GB, free: 9.633 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1364, allocations: 0.625 kB / 0.8428 GB, free: 9.633 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1364, allocations: 0 / 0.8428 GB, free: 9.633 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.000351/0.1367, allocations: 255.4 kB / 0.8431 GB, free: 9.352 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1368, allocations: 8.031 kB / 0.8431 GB, free: 9.344 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.1368, allocations: 1.438 kB / 0.8431 GB, free: 9.344 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.031e-05/0.1369, allocations: 119 kB / 0.8432 GB, free: 9.203 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.1369, allocations: 384 / 0.8432 GB, free: 9.203 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.1369, allocations: 5 kB / 0.8432 GB, free: 9.199 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.412e-05/0.137, allocations: 38.84 kB / 0.8432 GB, free: 9.156 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.137, allocations: 192 / 0.8432 GB, free: 9.156 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.137, allocations: 4.531 kB / 0.8432 GB, free: 9.152 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.137, allocations: 0 / 0.8432 GB, free: 9.152 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.88e-05/0.137, allocations: 16.64 kB / 0.8432 GB, free: 9.137 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.1372, allocations: 109.3 kB / 0.8434 GB, free: 9 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1374, allocations: 39.27 kB / 0.8434 GB, free: 8.953 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.1374, allocations: 21.58 kB / 0.8434 GB, free: 8.93 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.1374, allocations: 4.562 kB / 0.8434 GB, free: 8.926 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.1374, allocations: 34.56 kB / 0.8434 GB, free: 8.883 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.1374, allocations: 0.5 kB / 0.8434 GB, free: 8.883 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001452/0.1376, allocations: 58.12 kB / 0.8435 GB, free: 8.82 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.1376, allocations: 56 kB / 0.8436 GB, free: 8.754 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.368e-05/0.1377, allocations: 97.86 kB / 0.8436 GB, free: 8.648 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.1377, allocations: 26.36 kB / 0.8437 GB, free: 8.617 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/0.1377, allocations: 88.12 kB / 0.8438 GB, free: 8.527 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.1377, allocations: 12.5 kB / 0.8438 GB, free: 8.516 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.1378, allocations: 14.22 kB / 0.8438 GB, free: 8.496 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.1378, allocations: 314.8 kB / 0.8441 GB, free: 8.18 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.1379, allocations: 12.58 kB / 0.8441 GB, free: 8.168 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.41e-05/0.1379, allocations: 4.625 kB / 0.8441 GB, free: 8.164 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.196e-05/0.1379, allocations: 20.8 kB / 0.8441 GB, free: 8.141 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1379, allocations: 0.625 kB / 0.8441 GB, free: 8.141 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.278e-05/0.138, allocations: 50.59 kB / 0.8442 GB, free: 8.086 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.138, allocations: 4 kB / 0.8442 GB, free: 8.082 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.138, allocations: 0.5 kB / 0.8442 GB, free: 8.082 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.138, allocations: 4.609 kB / 0.8442 GB, free: 8.078 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.77e-05/0.1381, allocations: 15.98 kB / 0.8442 GB, free: 8.062 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1381, allocations: 0.5938 kB / 0.8442 GB, free: 8.062 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.1381, allocations: 7.891 kB / 0.8442 GB, free: 8.055 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.1381, allocations: 0.6875 kB / 0.8442 GB, free: 8.055 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 6.095e-05/0.1382, allocations: 116.5 kB / 0.8443 GB, free: 7.934 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-06/0.1382, allocations: 256 / 0.8443 GB, free: 7.934 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.1382, allocations: 12.31 kB / 0.8443 GB, free: 7.922 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1382, allocations: 4.562 kB / 0.8443 GB, free: 7.918 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1382, allocations: 4 kB / 0.8443 GB, free: 7.914 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1382, allocations: 4.531 kB / 0.8443 GB, free: 7.91 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.056e-05/0.1383, allocations: 105.3 kB / 0.8444 GB, free: 7.777 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1383, allocations: 4.5 kB / 0.8444 GB, free: 7.773 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.1383, allocations: 8.562 kB / 0.8445 GB, free: 7.766 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.1383, allocations: 0 / 0.8445 GB, free: 7.766 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.1383, allocations: 0.5938 kB / 0.8445 GB, free: 7.766 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.1383, allocations: 0.625 kB / 0.8445 GB, free: 7.766 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1383, allocations: 11.86 kB / 0.8445 GB, free: 7.754 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.1387, allocations: 77.67 kB / 0.8445 GB, free: 7.66 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.1387, allocations: 4 kB / 0.8445 GB, free: 7.656 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.1387, allocations: 0.5938 kB / 0.8445 GB, free: 7.656 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.213e-05/0.1387, allocations: 0.5938 kB / 0.8445 GB, free: 7.656 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.1387, allocations: 11.92 kB / 0.8446 GB, free: 7.645 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.1387, allocations: 0.5625 kB / 0.8446 GB, free: 7.645 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.824e-05/0.1387, allocations: 83.88 kB / 0.8446 GB, free: 7.562 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1387, allocations: 3.938 kB / 0.8446 GB, free: 7.559 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001755/0.1389, allocations: 4.75 kB / 0.8446 GB, free: 7.555 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 8.982e-05/0.139, allocations: 95.84 kB / 0.8447 GB, free: 7.449 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.873e-05/0.1391, allocations: 20.67 kB / 0.8448 GB, free: 7.43 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1391, allocations: 0 / 0.8448 GB, free: 7.43 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.539e-05/0.1391, allocations: 12.59 kB / 0.8448 GB, free: 7.418 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.1393, allocations: 2.75 kB / 0.8448 GB, free: 7.418 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.1395, allocations: 147.2 kB / 0.8449 GB, free: 7.242 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.326e-05/0.1396, allocations: 59.89 kB / 0.845 GB, free: 7.164 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.1396, allocations: 11.95 kB / 0.845 GB, free: 7.152 MB / 474.8 MB Notification: Performance of SimCode: time 5.61e-07/0.1396, allocations: 0 / 0.845 GB, free: 7.152 MB / 474.8 MB Notification: Performance of Templates: time 0.001624/0.1412, allocations: 0.5241 MB / 0.8455 GB, free: 6.652 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.905567106790841]