Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.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.001493/0.001493, allocations: 100.4 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.001118/0.001118, allocations: 215.5 kB / 23 MB, free: 2.949 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 0.922/0.922, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.6768/0.6768, allocations: 312.3 MB / 0.6108 GB, free: 97.53 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.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures") [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.001359/0.001359, allocations: 75.41 kB / 0.7699 GB, free: 20.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1146, allocations: 73.99 MB / 0.8421 GB, free: 10.28 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures): time 0.001382/0.1159, allocations: 0.6282 MB / 0.8427 GB, free: 9.668 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.094e-05/0.116, allocations: 16.47 kB / 0.8427 GB, free: 9.652 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.116, allocations: 0 / 0.8427 GB, free: 9.652 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.116, allocations: 0.6562 kB / 0.8427 GB, free: 9.652 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.493e-05/0.1161, allocations: 3.938 kB / 0.8427 GB, free: 9.648 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.165e-05/0.1161, allocations: 4.578 kB / 0.8428 GB, free: 9.645 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.757e-05/0.1162, allocations: 16.48 kB / 0.8428 GB, free: 9.629 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.1162, allocations: 0.625 kB / 0.8428 GB, free: 9.629 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.944e-05/0.1163, allocations: 8 kB / 0.8428 GB, free: 9.621 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.497e-05/0.1163, allocations: 16.59 kB / 0.8428 GB, free: 9.605 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1163, allocations: 0 / 0.8428 GB, free: 9.605 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.629e-06/0.1163, allocations: 0.5938 kB / 0.8428 GB, free: 9.605 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.1163, allocations: 7.938 kB / 0.8428 GB, free: 9.598 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.1164, allocations: 12.67 kB / 0.8428 GB, free: 9.586 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.84e-05/0.1164, allocations: 11.92 kB / 0.8428 GB, free: 9.574 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1164, allocations: 0.625 kB / 0.8428 GB, free: 9.574 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1164, allocations: 0.75 kB / 0.8428 GB, free: 9.574 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1164, allocations: 0 / 0.8428 GB, free: 9.574 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.0003254/0.1168, allocations: 255.1 kB / 0.8431 GB, free: 9.293 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1168, allocations: 8.031 kB / 0.8431 GB, free: 9.285 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.1168, allocations: 5.438 kB / 0.8431 GB, free: 9.281 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.092e-05/0.1169, allocations: 110.9 kB / 0.8432 GB, free: 9.148 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.1169, allocations: 5 kB / 0.8432 GB, free: 9.145 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.1169, allocations: 384 / 0.8432 GB, free: 9.145 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.597e-05/0.117, allocations: 38.75 kB / 0.8432 GB, free: 9.102 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.117, allocations: 0.6875 kB / 0.8432 GB, free: 9.102 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.117, allocations: 7.938 kB / 0.8432 GB, free: 9.094 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.117, allocations: 0.5 kB / 0.8432 GB, free: 9.094 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.69e-05/0.1171, allocations: 20.48 kB / 0.8433 GB, free: 9.074 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001168/0.1172, allocations: 105.3 kB / 0.8434 GB, free: 8.941 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.1174, allocations: 43.36 kB / 0.8434 GB, free: 8.891 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/0.1174, allocations: 17.39 kB / 0.8434 GB, free: 8.871 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.1174, allocations: 0.7344 kB / 0.8434 GB, free: 8.871 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.1174, allocations: 38.55 kB / 0.8435 GB, free: 8.824 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1174, allocations: 0.625 kB / 0.8435 GB, free: 8.824 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.000133/0.1175, allocations: 66.17 kB / 0.8435 GB, free: 8.754 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.1176, allocations: 51.41 kB / 0.8436 GB, free: 8.691 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.427e-05/0.1176, allocations: 106.5 kB / 0.8437 GB, free: 8.578 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.1176, allocations: 25.7 kB / 0.8437 GB, free: 8.547 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.057e-05/0.1176, allocations: 80.77 kB / 0.8438 GB, free: 8.465 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.1177, allocations: 24.44 kB / 0.8438 GB, free: 8.441 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.1177, allocations: 13.72 kB / 0.8438 GB, free: 8.422 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.709e-05/0.1178, allocations: 315.3 kB / 0.8441 GB, free: 8.105 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.1178, allocations: 4.656 kB / 0.8441 GB, free: 8.102 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.238e-05/0.1178, allocations: 7.984 kB / 0.8441 GB, free: 8.094 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.1178, allocations: 21.45 kB / 0.8441 GB, free: 8.07 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1178, allocations: 4.594 kB / 0.8441 GB, free: 8.066 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.66e-05/0.1179, allocations: 49.62 kB / 0.8442 GB, free: 8.012 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1179, allocations: 4.594 kB / 0.8442 GB, free: 8.008 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1179, allocations: 4.625 kB / 0.8442 GB, free: 8.004 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1179, allocations: 3.938 kB / 0.8442 GB, free: 8 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.14e-05/0.1179, allocations: 4.625 kB / 0.8442 GB, free: 7.996 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1179, allocations: 0 / 0.8442 GB, free: 7.996 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.213e-05/0.1179, allocations: 8.391 kB / 0.8442 GB, free: 7.988 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.118, allocations: 4.625 kB / 0.8442 GB, free: 7.984 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.66e-05/0.118, allocations: 107.4 kB / 0.8443 GB, free: 7.871 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-06/0.118, allocations: 12.7 kB / 0.8443 GB, free: 7.859 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.465e-05/0.118, allocations: 3.688 kB / 0.8443 GB, free: 7.855 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.118, allocations: 4.531 kB / 0.8443 GB, free: 7.852 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.118, allocations: 0 / 0.8443 GB, free: 7.852 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.118, allocations: 0.625 kB / 0.8443 GB, free: 7.852 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.973e-05/0.1181, allocations: 105.3 kB / 0.8444 GB, free: 7.719 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.1181, allocations: 0.8125 kB / 0.8444 GB, free: 7.719 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.607e-05/0.1181, allocations: 15.86 kB / 0.8445 GB, free: 7.703 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1181, allocations: 0.5 kB / 0.8445 GB, free: 7.703 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.1181, allocations: 0.7188 kB / 0.8445 GB, free: 7.703 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.1181, allocations: 0 / 0.8445 GB, free: 7.703 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1181, allocations: 8.438 kB / 0.8445 GB, free: 7.695 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.201e-05/0.1182, allocations: 77.58 kB / 0.8445 GB, free: 7.602 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-06/0.1182, allocations: 0 / 0.8445 GB, free: 7.602 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.1182, allocations: 0.625 kB / 0.8445 GB, free: 7.602 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-06/0.1182, allocations: 4 kB / 0.8445 GB, free: 7.598 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.1182, allocations: 12.58 kB / 0.8446 GB, free: 7.586 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-06/0.1182, allocations: 4.969 kB / 0.8446 GB, free: 7.582 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.354e-05/0.1182, allocations: 83.28 kB / 0.8446 GB, free: 7.5 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1182, allocations: 0.5312 kB / 0.8446 GB, free: 7.5 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001045/0.1183, allocations: 4 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 (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.772e-05/0.1184, allocations: 108.4 kB / 0.8447 GB, free: 7.379 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.5e-05/0.1185, allocations: 16.36 kB / 0.8448 GB, free: 7.363 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.1185, allocations: 0.5938 kB / 0.8448 GB, free: 7.363 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.1185, allocations: 12.66 kB / 0.8448 GB, free: 7.352 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.93e-05/0.1186, allocations: 0 / 0.8448 GB, free: 7.352 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002125/0.1188, allocations: 143.5 kB / 0.8449 GB, free: 7.18 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.23e-05/0.1189, allocations: 71.89 kB / 0.845 GB, free: 7.09 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.1189, allocations: 8.062 kB / 0.845 GB, free: 7.082 MB / 474.8 MB Notification: Performance of SimCode: time 4.01e-07/0.1189, allocations: 0.5938 kB / 0.845 GB, free: 7.082 MB / 474.8 MB Notification: Performance of Templates: time 0.001341/0.1202, allocations: 0.5132 MB / 0.8455 GB, free: 6.59 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.570224905386567]