Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.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.0009434/0.0009434, allocations: 104.4 kB / 19.71 MB, free: 436 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.0009308/0.0009308, allocations: 215.5 kB / 23.01 MB, free: 2.934 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.108/1.108, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.7741/0.7741, allocations: 312.3 MB / 0.6108 GB, free: 97.44 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.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking") [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.001519/0.001519, allocations: 72.52 kB / 0.7699 GB, free: 20.1 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1326, allocations: 74 MB / 0.8421 GB, free: 10.24 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking): time 0.001344/0.1339, allocations: 0.6155 MB / 0.8427 GB, free: 9.637 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.259e-05/0.134, allocations: 16.55 kB / 0.8427 GB, free: 9.621 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.134, allocations: 0.625 kB / 0.8427 GB, free: 9.621 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.2e-05/0.134, allocations: 0 / 0.8427 GB, free: 9.621 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.478e-05/0.134, allocations: 4.531 kB / 0.8427 GB, free: 9.617 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.873e-05/0.1341, allocations: 0 / 0.8427 GB, free: 9.617 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.556e-05/0.1341, allocations: 16.52 kB / 0.8428 GB, free: 9.602 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.1342, allocations: 0.625 kB / 0.8428 GB, free: 9.602 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.971e-05/0.1342, allocations: 7.938 kB / 0.8428 GB, free: 9.594 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.1343, allocations: 8.578 kB / 0.8428 GB, free: 9.586 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.1343, allocations: 0.5938 kB / 0.8428 GB, free: 9.586 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.398e-06/0.1343, allocations: 0 / 0.8428 GB, free: 9.586 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.1343, allocations: 4.656 kB / 0.8428 GB, free: 9.582 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.1343, allocations: 19.91 kB / 0.8428 GB, free: 9.562 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.359e-05/0.1344, allocations: 0.7188 kB / 0.8428 GB, free: 9.562 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1344, allocations: 4 kB / 0.8428 GB, free: 9.559 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1344, allocations: 0.5312 kB / 0.8428 GB, free: 9.559 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1344, allocations: 4.625 kB / 0.8428 GB, free: 9.555 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003177/0.1347, allocations: 254.8 kB / 0.843 GB, free: 9.273 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1347, allocations: 16.02 kB / 0.8431 GB, free: 9.258 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.1348, allocations: 1.562 kB / 0.8431 GB, free: 9.258 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.396e-05/0.1348, allocations: 111 kB / 0.8432 GB, free: 9.125 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.1349, allocations: 4.312 kB / 0.8432 GB, free: 9.121 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.1349, allocations: 1.062 kB / 0.8432 GB, free: 9.121 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.359e-05/0.1349, allocations: 42.23 kB / 0.8432 GB, free: 9.074 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.135, allocations: 4.688 kB / 0.8432 GB, free: 9.07 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.135, allocations: 4.625 kB / 0.8432 GB, free: 9.066 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.135, allocations: 0 / 0.8432 GB, free: 9.066 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.224e-05/0.135, allocations: 4.625 kB / 0.8432 GB, free: 9.062 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.1351, allocations: 109.9 kB / 0.8433 GB, free: 8.926 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.1354, allocations: 55.12 kB / 0.8434 GB, free: 8.863 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.317e-05/0.1354, allocations: 12.84 kB / 0.8434 GB, free: 8.848 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.1354, allocations: 0.625 kB / 0.8434 GB, free: 8.848 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.1354, allocations: 35.16 kB / 0.8434 GB, free: 8.805 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.1354, allocations: 0 / 0.8434 GB, free: 8.805 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001281/0.1355, allocations: 54.28 kB / 0.8435 GB, free: 8.746 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.1356, allocations: 55.41 kB / 0.8435 GB, free: 8.68 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.379e-05/0.1356, allocations: 102.5 kB / 0.8436 GB, free: 8.57 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.1356, allocations: 30.42 kB / 0.8437 GB, free: 8.535 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.835e-05/0.1357, allocations: 88.12 kB / 0.8437 GB, free: 8.445 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.1357, allocations: 8.594 kB / 0.8438 GB, free: 8.438 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.1357, allocations: 17.72 kB / 0.8438 GB, free: 8.414 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.306e-05/0.1358, allocations: 311.5 kB / 0.8441 GB, free: 8.102 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.1358, allocations: 8 kB / 0.8441 GB, free: 8.094 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.144e-05/0.1358, allocations: 8.641 kB / 0.8441 GB, free: 8.086 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.1358, allocations: 17.55 kB / 0.8441 GB, free: 8.066 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1358, allocations: 0 / 0.8441 GB, free: 8.066 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.733e-05/0.1359, allocations: 50.25 kB / 0.8441 GB, free: 8.012 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1359, allocations: 4 kB / 0.8442 GB, free: 8.008 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1359, allocations: 0.625 kB / 0.8442 GB, free: 8.008 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1359, allocations: 4.5 kB / 0.8442 GB, free: 8.004 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.955e-05/0.136, allocations: 4 kB / 0.8442 GB, free: 8 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.136, allocations: 0.625 kB / 0.8442 GB, free: 8 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.136, allocations: 4 kB / 0.8442 GB, free: 7.996 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-06/0.136, allocations: 0.5 kB / 0.8442 GB, free: 7.996 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 (3): * Single equations (assignments): 3 * 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.987e-05/0.136, allocations: 108 kB / 0.8443 GB, free: 7.883 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.136, allocations: 8.672 kB / 0.8443 GB, free: 7.875 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/0.136, allocations: 12.73 kB / 0.8443 GB, free: 7.859 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1361, allocations: 8.203 kB / 0.8443 GB, free: 7.852 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1361, allocations: 0.625 kB / 0.8443 GB, free: 7.852 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1361, allocations: 0 / 0.8443 GB, free: 7.852 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.945e-05/0.1361, allocations: 109.9 kB / 0.8444 GB, free: 7.715 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1361, allocations: 0 / 0.8444 GB, free: 7.715 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.1361, allocations: 8.609 kB / 0.8444 GB, free: 7.707 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1361, allocations: 0 / 0.8444 GB, free: 7.707 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1361, allocations: 4.516 kB / 0.8444 GB, free: 7.703 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.1361, allocations: 0.6562 kB / 0.8444 GB, free: 7.703 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1361, allocations: 3.938 kB / 0.8444 GB, free: 7.699 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.656e-05/0.1362, allocations: 77.81 kB / 0.8445 GB, free: 7.605 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-06/0.1362, allocations: 3.953 kB / 0.8445 GB, free: 7.602 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-06/0.1362, allocations: 0.5938 kB / 0.8445 GB, free: 7.602 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-06/0.1362, allocations: 0.5 kB / 0.8445 GB, free: 7.602 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.1362, allocations: 11.88 kB / 0.8445 GB, free: 7.59 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.1362, allocations: 0.5938 kB / 0.8445 GB, free: 7.59 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0002918/0.1365, allocations: 92.27 kB / 0.8446 GB, free: 7.5 MB / 474.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1365, allocations: 0 / 0.8446 GB, free: 7.5 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001062/0.1366, allocations: 4.5 kB / 0.8446 GB, free: 7.496 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 (3): * Single equations (assignments): 3 * 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.649e-05/0.1367, allocations: 99.91 kB / 0.8447 GB, free: 7.391 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 6.963e-05/0.1368, allocations: 20.47 kB / 0.8447 GB, free: 7.371 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.1368, allocations: 0.5938 kB / 0.8447 GB, free: 7.371 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.478e-06/0.1368, allocations: 7.984 kB / 0.8447 GB, free: 7.363 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.897e-05/0.1369, allocations: 4.75 kB / 0.8447 GB, free: 7.359 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.1371, allocations: 135.3 kB / 0.8449 GB, free: 7.195 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.572e-05/0.1371, allocations: 63.86 kB / 0.8449 GB, free: 7.113 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.1372, allocations: 12.16 kB / 0.8449 GB, free: 7.102 MB / 474.8 MB Notification: Performance of SimCode: time 3.5e-07/0.1372, allocations: 0 / 0.8449 GB, free: 7.102 MB / 474.8 MB Notification: Performance of Templates: time 0.001317/0.1385, allocations: 495.6 kB / 0.8454 GB, free: 6.637 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.791553387418389]