Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss.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.002336/0.002336, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.0027/0.0027, allocations: 215.6 kB / 22.25 MB, free: 3.562 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.676/1.676, allocations: 230.6 MB / 256 MB, free: 9.594 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.425/1.425, allocations: 316.7 MB / 0.6144 GB, free: 93.07 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.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss") [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.003991/0.003991, allocations: 77.16 kB / 0.775 GB, free: 14.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1824, allocations: 73.99 MB / 0.8472 GB, free: 4.926 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss): time 0.002316/0.1848, allocations: 0.6303 MB / 0.8478 GB, free: 4.312 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 7.545e-05/0.1848, allocations: 11.92 kB / 0.8478 GB, free: 4.301 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.1849, allocations: 0 / 0.8478 GB, free: 4.301 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.1849, allocations: 0 / 0.8478 GB, free: 4.301 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.237e-05/0.1849, allocations: 7.875 kB / 0.8478 GB, free: 4.293 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.525e-05/0.185, allocations: 4.859 kB / 0.8479 GB, free: 4.289 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.555e-05/0.1851, allocations: 15.98 kB / 0.8479 GB, free: 4.273 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.16e-05/0.1851, allocations: 4 kB / 0.8479 GB, free: 4.27 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.1851, allocations: 2.125 kB / 0.8479 GB, free: 4.27 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.1852, allocations: 15.92 kB / 0.8479 GB, free: 4.254 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.1852, allocations: 0 / 0.8479 GB, free: 4.254 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.487e-06/0.1852, allocations: 4 kB / 0.8479 GB, free: 4.25 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.1853, allocations: 0 / 0.8479 GB, free: 4.25 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.1853, allocations: 10.61 kB / 0.8479 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 9.148e-05/0.1854, allocations: 15.92 kB / 0.8479 GB, free: 4.227 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.1854, allocations: 3.984 kB / 0.8479 GB, free: 4.223 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1854, allocations: 0 / 0.8479 GB, free: 4.223 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1854, allocations: 0 / 0.8479 GB, free: 4.223 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.0005532/0.186, allocations: 262.2 kB / 0.8482 GB, free: 3.934 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.186, allocations: 15.97 kB / 0.8482 GB, free: 3.918 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.186, allocations: 5.719 kB / 0.8482 GB, free: 3.914 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.1862, allocations: 110.5 kB / 0.8483 GB, free: 3.781 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1862, allocations: 1.281 kB / 0.8483 GB, free: 3.781 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.1862, allocations: 384 / 0.8483 GB, free: 3.781 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.1864, allocations: 46.23 kB / 0.8483 GB, free: 3.73 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1864, allocations: 0.75 kB / 0.8483 GB, free: 3.73 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1864, allocations: 4.5 kB / 0.8483 GB, free: 3.727 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1864, allocations: 0 / 0.8483 GB, free: 3.727 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.469e-05/0.1864, allocations: 8.594 kB / 0.8484 GB, free: 3.719 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.1866, allocations: 109.9 kB / 0.8485 GB, free: 3.582 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.1868, allocations: 46.58 kB / 0.8485 GB, free: 3.527 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.1869, allocations: 17.39 kB / 0.8485 GB, free: 3.508 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.1869, allocations: 4.5 kB / 0.8485 GB, free: 3.504 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.1869, allocations: 31.16 kB / 0.8486 GB, free: 3.465 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1869, allocations: 0.5312 kB / 0.8486 GB, free: 3.465 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001905/0.1871, allocations: 57.7 kB / 0.8486 GB, free: 3.402 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.1872, allocations: 59.97 kB / 0.8487 GB, free: 3.332 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1873, allocations: 98.44 kB / 0.8488 GB, free: 3.227 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1873, allocations: 25.7 kB / 0.8488 GB, free: 3.195 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.1874, allocations: 88.77 kB / 0.8489 GB, free: 3.105 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.1874, allocations: 8.625 kB / 0.8489 GB, free: 3.098 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.1875, allocations: 21.7 kB / 0.8489 GB, free: 3.07 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1876, allocations: 312.8 kB / 0.8492 GB, free: 2.758 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.1877, allocations: 8 kB / 0.8492 GB, free: 2.75 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.799e-05/0.1877, allocations: 7.984 kB / 0.8492 GB, free: 2.742 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.545e-05/0.1877, allocations: 20.86 kB / 0.8492 GB, free: 2.719 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1877, allocations: 0 / 0.8492 GB, free: 2.719 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.469e-05/0.1878, allocations: 49.62 kB / 0.8493 GB, free: 2.664 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1878, allocations: 10.94 kB / 0.8493 GB, free: 2.656 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1878, allocations: 0 / 0.8493 GB, free: 2.656 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1878, allocations: 3.938 kB / 0.8493 GB, free: 2.652 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.956e-05/0.1879, allocations: 8 kB / 0.8493 GB, free: 2.645 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.1879, allocations: 0 / 0.8493 GB, free: 2.645 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.1879, allocations: 11.89 kB / 0.8493 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.1879, allocations: 0 / 0.8493 GB, free: 2.633 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 0.0001054/0.188, allocations: 108 kB / 0.8494 GB, free: 2.52 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-06/0.188, allocations: 4 kB / 0.8494 GB, free: 2.516 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.1881, allocations: 8.016 kB / 0.8494 GB, free: 2.508 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.475e-06/0.1881, allocations: 9.984 kB / 0.8494 GB, free: 2.5 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1881, allocations: 0 / 0.8494 GB, free: 2.5 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1881, allocations: 3.984 kB / 0.8494 GB, free: 2.496 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.1882, allocations: 109.5 kB / 0.8495 GB, free: 2.359 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1882, allocations: 0 / 0.8495 GB, free: 2.359 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.1883, allocations: 8.594 kB / 0.8496 GB, free: 2.352 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1883, allocations: 0 / 0.8496 GB, free: 2.352 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1883, allocations: 13.23 kB / 0.8496 GB, free: 2.34 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.1883, allocations: 3.938 kB / 0.8496 GB, free: 2.336 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1883, allocations: 3.938 kB / 0.8496 GB, free: 2.332 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.1884, allocations: 77.08 kB / 0.8496 GB, free: 2.238 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-06/0.1884, allocations: 0.75 kB / 0.8496 GB, free: 2.238 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.1884, allocations: 4 kB / 0.8497 GB, free: 2.234 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.843e-05/0.1884, allocations: 0.5 kB / 0.8497 GB, free: 2.234 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.1885, allocations: 4.656 kB / 0.8497 GB, free: 2.23 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.1885, allocations: 0 / 0.8497 GB, free: 2.23 MB / 474.8 MB Notification: Performance of sorting global known variables: time 7.924e-05/0.1886, allocations: 87.8 kB / 0.8497 GB, free: 2.145 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1886, allocations: 0.5625 kB / 0.8497 GB, free: 2.145 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001793/0.1887, allocations: 4 kB / 0.8497 GB, free: 2.141 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 0.0001776/0.1889, allocations: 100.5 kB / 0.8498 GB, free: 2.031 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.189, allocations: 23.92 kB / 0.8499 GB, free: 2.008 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.189, allocations: 0.5 kB / 0.8499 GB, free: 2.008 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.184e-05/0.1891, allocations: 12.62 kB / 0.8499 GB, free: 1.996 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.1892, allocations: 0.625 kB / 0.8499 GB, free: 1.996 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.1896, allocations: 115.9 kB / 0.85 GB, free: 1.859 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.473e-05/0.1897, allocations: 64.06 kB / 0.85 GB, free: 1.777 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 2.084e-05/0.1897, allocations: 0 / 0.85 GB, free: 1.777 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.1898, allocations: 11.97 kB / 0.8501 GB, free: 1.766 MB / 474.8 MB Notification: Performance of SimCode: time 3.41e-07/0.1898, allocations: 0 / 0.8501 GB, free: 1.766 MB / 474.8 MB Notification: Performance of Templates: time 0.00315/0.1929, allocations: 415.7 kB / 0.8505 GB, free: 1.418 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.2229068039450794]