Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AX08_Risperidone.Risperidone_Ivaturi2017_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.001936/0.001936, 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.002349/0.002349, allocations: 219.5 kB / 22.25 MB, free: 3.688 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.756/1.756, allocations: 230.6 MB / 256 MB, free: 9.574 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.519/1.519, allocations: 316.7 MB / 0.6144 GB, free: 92.91 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.N05AX08_Risperidone.Risperidone_Ivaturi2017_PD_panss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AX08_Risperidone.Risperidone_Ivaturi2017_PD_panss") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AX08_Risperidone.Risperidone_Ivaturi2017_PD_panss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AX08_Risperidone.Risperidone_Ivaturi2017_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.004238/0.004238, allocations: 73.77 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1498, allocations: 73.99 MB / 0.8472 GB, free: 4.902 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AX08_Risperidone.Risperidone_Ivaturi2017_PD_panss): time 0.001849/0.1517, allocations: 0.6223 MB / 0.8478 GB, free: 4.293 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.415e-05/0.1517, allocations: 12.52 kB / 0.8478 GB, free: 4.281 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.894e-05/0.1517, allocations: 0.5 kB / 0.8478 GB, free: 4.281 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.077e-05/0.1518, allocations: 4.562 kB / 0.8478 GB, free: 4.277 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.425e-05/0.1518, allocations: 7.875 kB / 0.8478 GB, free: 4.27 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.638e-05/0.1518, allocations: 4.609 kB / 0.8479 GB, free: 4.266 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.854e-05/0.1519, allocations: 16.7 kB / 0.8479 GB, free: 4.25 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.1519, allocations: 3.984 kB / 0.8479 GB, free: 4.246 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.979e-05/0.152, allocations: 8.438 kB / 0.8479 GB, free: 4.238 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.968e-05/0.152, allocations: 3.984 kB / 0.8479 GB, free: 4.234 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.152, allocations: 4.688 kB / 0.8479 GB, free: 4.23 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.129e-06/0.152, allocations: 0.625 kB / 0.8479 GB, free: 4.23 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.1521, allocations: 11.92 kB / 0.8479 GB, free: 4.219 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.1521, allocations: 8.469 kB / 0.8479 GB, free: 4.211 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.417e-05/0.1521, allocations: 7.969 kB / 0.8479 GB, free: 4.203 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1521, allocations: 0.5312 kB / 0.8479 GB, free: 4.203 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1521, allocations: 4.562 kB / 0.8479 GB, free: 4.199 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1521, allocations: 0.625 kB / 0.8479 GB, free: 4.199 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.0006612/0.1528, allocations: 259 kB / 0.8482 GB, free: 3.914 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1528, allocations: 8.031 kB / 0.8482 GB, free: 3.906 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.206e-05/0.1529, allocations: 1.5 kB / 0.8482 GB, free: 3.906 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.153, allocations: 118.4 kB / 0.8483 GB, free: 3.766 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-06/0.153, allocations: 4.938 kB / 0.8483 GB, free: 3.762 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.153, allocations: 5 kB / 0.8483 GB, free: 3.758 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.1531, allocations: 38.25 kB / 0.8483 GB, free: 3.715 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1531, allocations: 1.031 kB / 0.8483 GB, free: 3.715 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1531, allocations: 3.938 kB / 0.8483 GB, free: 3.711 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1531, allocations: 0.5938 kB / 0.8483 GB, free: 3.711 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.354e-05/0.1532, allocations: 11.98 kB / 0.8484 GB, free: 3.699 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.1534, allocations: 105.9 kB / 0.8485 GB, free: 3.566 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.1536, allocations: 47.86 kB / 0.8485 GB, free: 3.512 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.1536, allocations: 13 kB / 0.8485 GB, free: 3.496 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.1536, allocations: 3.984 kB / 0.8485 GB, free: 3.492 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.1536, allocations: 37.12 kB / 0.8486 GB, free: 3.449 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1536, allocations: 0 / 0.8486 GB, free: 3.449 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001671/0.1538, allocations: 61.56 kB / 0.8486 GB, free: 3.383 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.1539, allocations: 51.41 kB / 0.8487 GB, free: 3.32 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.154, allocations: 101.9 kB / 0.8488 GB, free: 3.211 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.154, allocations: 25.7 kB / 0.8488 GB, free: 3.18 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.154, allocations: 84.14 kB / 0.8489 GB, free: 3.094 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1541, allocations: 13.23 kB / 0.8489 GB, free: 3.082 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.1541, allocations: 17.72 kB / 0.8489 GB, free: 3.059 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1543, allocations: 314.8 kB / 0.8492 GB, free: 2.742 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.1543, allocations: 9.609 kB / 0.8492 GB, free: 2.734 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.023e-05/0.1543, allocations: 8 kB / 0.8492 GB, free: 2.727 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.45e-05/0.1544, allocations: 16.86 kB / 0.8492 GB, free: 2.707 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1544, allocations: 3.938 kB / 0.8492 GB, free: 2.703 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.83e-05/0.1545, allocations: 54.44 kB / 0.8493 GB, free: 2.645 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1545, allocations: 6.188 kB / 0.8493 GB, free: 2.641 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1545, allocations: 336 / 0.8493 GB, free: 2.641 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1545, allocations: 5.031 kB / 0.8493 GB, free: 2.637 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.026e-05/0.1545, allocations: 8 kB / 0.8493 GB, free: 2.629 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1546, allocations: 0 / 0.8493 GB, free: 2.629 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.1546, allocations: 8.641 kB / 0.8493 GB, free: 2.621 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1546, allocations: 4.5 kB / 0.8493 GB, free: 2.617 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 8.928e-05/0.1547, allocations: 111.1 kB / 0.8494 GB, free: 2.5 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.1547, allocations: 11.97 kB / 0.8494 GB, free: 2.488 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.1547, allocations: 12.75 kB / 0.8494 GB, free: 2.477 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.1547, allocations: 7.938 kB / 0.8494 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1547, allocations: 0 / 0.8494 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.1547, allocations: 1.469 kB / 0.8495 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.1548, allocations: 101.3 kB / 0.8495 GB, free: 2.34 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1548, allocations: 0 / 0.8495 GB, free: 2.34 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.173e-05/0.1549, allocations: 11.98 kB / 0.8496 GB, free: 2.328 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1549, allocations: 1.531 kB / 0.8496 GB, free: 2.328 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.1549, allocations: 0 / 0.8496 GB, free: 2.328 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1549, allocations: 0 / 0.8496 GB, free: 2.328 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.1549, allocations: 7.875 kB / 0.8496 GB, free: 2.32 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.155, allocations: 77.7 kB / 0.8496 GB, free: 2.227 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.155, allocations: 4 kB / 0.8496 GB, free: 2.223 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.155, allocations: 0.9688 kB / 0.8496 GB, free: 2.223 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.921e-05/0.155, allocations: 0 / 0.8496 GB, free: 2.223 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.1551, allocations: 9.797 kB / 0.8497 GB, free: 2.215 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1551, allocations: 4 kB / 0.8497 GB, free: 2.211 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.948e-05/0.1551, allocations: 83.28 kB / 0.8497 GB, free: 2.129 MB / 474.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1551, allocations: 0 / 0.8497 GB, free: 2.129 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001705/0.1553, allocations: 4 kB / 0.8497 GB, free: 2.125 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.0001131/0.1554, allocations: 95.97 kB / 0.8498 GB, free: 2.02 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.239e-05/0.1555, allocations: 25.77 kB / 0.8499 GB, free: 1.996 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1555, allocations: 4 kB / 0.8499 GB, free: 1.992 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.661e-05/0.1555, allocations: 4 kB / 0.8499 GB, free: 1.988 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.1556, allocations: 9.094 kB / 0.8499 GB, free: 1.98 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.1559, allocations: 114.1 kB / 0.85 GB, free: 1.844 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.325e-05/0.156, allocations: 59.36 kB / 0.85 GB, free: 1.766 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.685e-05/0.156, allocations: 5.078 kB / 0.85 GB, free: 1.762 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.156, allocations: 11.44 kB / 0.8501 GB, free: 1.75 MB / 474.8 MB Notification: Performance of SimCode: time 4.21e-07/0.156, allocations: 3.938 kB / 0.8501 GB, free: 1.746 MB / 474.8 MB Notification: Performance of Templates: time 0.002774/0.1588, allocations: 413.7 kB / 0.8505 GB, free: 1.406 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AX08_Risperidone.Risperidone_Ivaturi2017_PD_panss.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AX08_Risperidone.Risperidone_Ivaturi2017_PD_panss.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AX08_Risperidone.Risperidone_Ivaturi2017_PD_panss.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AX08_Risperidone.Risperidone_Ivaturi2017_PD_panss.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AX08_Risperidone.Risperidone_Ivaturi2017_PD_panss.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AX08_Risperidone.Risperidone_Ivaturi2017_PD_panss -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AX08_Risperidone.Risperidone_Ivaturi2017_PD_panss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.402131526032463]