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.001047/0.001047, 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.001516/0.001516, 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 1.004/1.004, allocations: 230.6 MB / 256.8 MB, free: 9.629 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.8018/0.8018, allocations: 312.3 MB / 0.6108 GB, free: 97.65 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.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.002359/0.002359, allocations: 75.84 kB / 0.7699 GB, free: 20.25 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1515, allocations: 74 MB / 0.8421 GB, free: 10.39 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AX08_Risperidone.Risperidone_Ivaturi2017_PD_panss): time 0.001406/0.1529, allocations: 0.6272 MB / 0.8427 GB, free: 9.777 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.851e-05/0.153, allocations: 12.47 kB / 0.8427 GB, free: 9.766 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.153, allocations: 0.625 kB / 0.8427 GB, free: 9.766 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.18e-05/0.153, allocations: 0 / 0.8427 GB, free: 9.766 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.21e-05/0.153, allocations: 8.438 kB / 0.8427 GB, free: 9.758 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.825e-05/0.1531, allocations: 4.547 kB / 0.8428 GB, free: 9.754 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.278e-05/0.1531, allocations: 15.97 kB / 0.8428 GB, free: 9.738 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.1532, allocations: 4.531 kB / 0.8428 GB, free: 9.734 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.595e-05/0.1532, allocations: 4.594 kB / 0.8428 GB, free: 9.73 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.1533, allocations: 11.86 kB / 0.8428 GB, free: 9.719 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.1533, allocations: 4.75 kB / 0.8428 GB, free: 9.715 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.218e-06/0.1533, allocations: 0 / 0.8428 GB, free: 9.715 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.1533, allocations: 8.562 kB / 0.8428 GB, free: 9.707 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 1.887e-05/0.1533, allocations: 4.609 kB / 0.8428 GB, free: 9.703 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.376e-05/0.1534, allocations: 11.92 kB / 0.8428 GB, free: 9.691 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.1534, allocations: 0.625 kB / 0.8428 GB, free: 9.691 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1534, allocations: 0 / 0.8428 GB, free: 9.691 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1534, allocations: 0.5 kB / 0.8428 GB, free: 9.691 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.0003015/0.1537, allocations: 255.3 kB / 0.8431 GB, free: 9.41 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.1537, allocations: 12.03 kB / 0.8431 GB, free: 9.398 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.1537, allocations: 1.812 kB / 0.8431 GB, free: 9.398 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.89e-05/0.1538, allocations: 122.4 kB / 0.8432 GB, free: 9.254 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.1538, allocations: 8.797 kB / 0.8432 GB, free: 9.246 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1538, allocations: 1.031 kB / 0.8432 GB, free: 9.246 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.195e-05/0.1539, allocations: 42.25 kB / 0.8432 GB, free: 9.199 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1539, allocations: 0.8438 kB / 0.8432 GB, free: 9.199 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-06/0.1539, allocations: 3.938 kB / 0.8432 GB, free: 9.195 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1539, allocations: 0.5 kB / 0.8432 GB, free: 9.195 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.408e-05/0.154, allocations: 20.48 kB / 0.8433 GB, free: 9.176 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.1541, allocations: 101.3 kB / 0.8434 GB, free: 9.047 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.1542, allocations: 47.14 kB / 0.8434 GB, free: 8.992 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.1542, allocations: 17.52 kB / 0.8434 GB, free: 8.973 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.1543, allocations: 0.5938 kB / 0.8434 GB, free: 8.973 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.1543, allocations: 34.7 kB / 0.8435 GB, free: 8.93 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.1543, allocations: 0.5625 kB / 0.8435 GB, free: 8.93 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001204/0.1544, allocations: 62.19 kB / 0.8435 GB, free: 8.863 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.1544, allocations: 55.39 kB / 0.8436 GB, free: 8.797 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.771e-05/0.1545, allocations: 98.42 kB / 0.8437 GB, free: 8.691 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.1545, allocations: 30.23 kB / 0.8437 GB, free: 8.656 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.871e-05/0.1545, allocations: 84.14 kB / 0.8438 GB, free: 8.57 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.1545, allocations: 12.52 kB / 0.8438 GB, free: 8.559 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.1545, allocations: 18.41 kB / 0.8438 GB, free: 8.535 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.227e-05/0.1546, allocations: 314.8 kB / 0.8441 GB, free: 8.219 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.1546, allocations: 0.625 kB / 0.8441 GB, free: 8.219 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.205e-05/0.1546, allocations: 15.98 kB / 0.8441 GB, free: 8.203 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.15e-05/0.1546, allocations: 21.33 kB / 0.8441 GB, free: 8.18 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1546, allocations: 0.6562 kB / 0.8441 GB, free: 8.18 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.405e-05/0.1547, allocations: 49.69 kB / 0.8442 GB, free: 8.125 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.1547, allocations: 7.312 kB / 0.8442 GB, free: 8.121 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1547, allocations: 0 / 0.8442 GB, free: 8.121 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1547, allocations: 4.562 kB / 0.8442 GB, free: 8.117 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.577e-05/0.1547, allocations: 4.688 kB / 0.8442 GB, free: 8.113 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1548, allocations: 4 kB / 0.8442 GB, free: 8.109 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.274e-05/0.1548, allocations: 12.45 kB / 0.8442 GB, free: 8.098 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.1548, allocations: 336 / 0.8442 GB, free: 8.098 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 4.432e-05/0.1548, allocations: 111.6 kB / 0.8443 GB, free: 7.98 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-06/0.1548, allocations: 0.625 kB / 0.8443 GB, free: 7.98 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.64e-05/0.1548, allocations: 12.3 kB / 0.8443 GB, free: 7.969 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1548, allocations: 7.922 kB / 0.8443 GB, free: 7.961 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1548, allocations: 4.781 kB / 0.8443 GB, free: 7.957 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1548, allocations: 0 / 0.8443 GB, free: 7.957 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.008e-05/0.1549, allocations: 105.9 kB / 0.8444 GB, free: 7.824 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-07/0.1549, allocations: 0 / 0.8444 GB, free: 7.824 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.487e-05/0.1549, allocations: 16.55 kB / 0.8445 GB, free: 7.809 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.1549, allocations: 3.938 kB / 0.8445 GB, free: 7.805 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.1549, allocations: 0.5938 kB / 0.8445 GB, free: 7.805 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.1549, allocations: 0.5 kB / 0.8445 GB, free: 7.805 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1549, allocations: 3.938 kB / 0.8445 GB, free: 7.801 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.768e-05/0.155, allocations: 77.58 kB / 0.8445 GB, free: 7.707 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.155, allocations: 4.594 kB / 0.8446 GB, free: 7.703 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.194e-06/0.155, allocations: 0.625 kB / 0.8446 GB, free: 7.703 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-06/0.155, allocations: 256 / 0.8446 GB, free: 7.703 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.155, allocations: 4.625 kB / 0.8446 GB, free: 7.699 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.155, allocations: 8 kB / 0.8446 GB, free: 7.691 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.165e-05/0.155, allocations: 87.95 kB / 0.8446 GB, free: 7.605 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.155, allocations: 0 / 0.8446 GB, free: 7.605 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000103/0.1551, allocations: 8.562 kB / 0.8447 GB, free: 7.598 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.247e-05/0.1552, allocations: 98.27 kB / 0.8447 GB, free: 7.492 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 6.87e-05/0.1553, allocations: 20.48 kB / 0.8448 GB, free: 7.473 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.1553, allocations: 0.625 kB / 0.8448 GB, free: 7.473 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.899e-06/0.1553, allocations: 8 kB / 0.8448 GB, free: 7.465 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.788e-05/0.1554, allocations: 8.594 kB / 0.8448 GB, free: 7.457 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001993/0.1556, allocations: 139.2 kB / 0.8449 GB, free: 7.289 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.353e-05/0.1556, allocations: 63.97 kB / 0.845 GB, free: 7.207 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.1556, allocations: 7.938 kB / 0.845 GB, free: 7.199 MB / 474.8 MB Notification: Performance of SimCode: time 4.11e-07/0.1556, allocations: 0.7188 kB / 0.845 GB, free: 7.199 MB / 474.8 MB Notification: Performance of Templates: time 0.0012/0.1568, allocations: 0.5255 MB / 0.8455 GB, free: 6.695 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AX08_Risperidone.Risperidone_Ivaturi2017_PD_panss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.851870213635266]