Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Glatard2020_PD_prl.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.001077/0.001077, allocations: 108.3 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.001308/0.001308, allocations: 216.4 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 1.04/1.04, allocations: 230.6 MB / 256.8 MB, free: 9.648 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.7358/0.7358, allocations: 312.3 MB / 0.6108 GB, free: 97.64 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.N05AL05_Amisulpride.Amisulpride_Glatard2020_PD_prl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Glatard2020_PD_prl") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Glatard2020_PD_prl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Glatard2020_PD_prl") [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.001765/0.001765, allocations: 78.28 kB / 0.7699 GB, free: 20.21 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1115, allocations: 73.98 MB / 0.8421 GB, free: 10.36 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Glatard2020_PD_prl): time 0.001331/0.1128, allocations: 0.6426 MB / 0.8427 GB, free: 9.738 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.565e-05/0.1129, allocations: 12.52 kB / 0.8428 GB, free: 9.727 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.1129, allocations: 0.5625 kB / 0.8428 GB, free: 9.727 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.1129, allocations: 3.938 kB / 0.8428 GB, free: 9.723 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.126e-05/0.113, allocations: 0.7188 kB / 0.8428 GB, free: 9.723 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.037e-05/0.113, allocations: 3.984 kB / 0.8428 GB, free: 9.719 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.682e-05/0.1131, allocations: 12.72 kB / 0.8428 GB, free: 9.707 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.1131, allocations: 11.92 kB / 0.8428 GB, free: 9.695 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.631e-05/0.1131, allocations: 4.562 kB / 0.8428 GB, free: 9.691 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.371e-05/0.1132, allocations: 12.55 kB / 0.8428 GB, free: 9.68 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.1132, allocations: 0 / 0.8428 GB, free: 9.68 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.631e-06/0.1132, allocations: 4.594 kB / 0.8428 GB, free: 9.676 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.1132, allocations: 4 kB / 0.8428 GB, free: 9.672 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.1132, allocations: 4.469 kB / 0.8428 GB, free: 9.668 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.996e-05/0.1133, allocations: 16.5 kB / 0.8428 GB, free: 9.652 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1133, allocations: 0 / 0.8428 GB, free: 9.652 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1133, allocations: 0.5 kB / 0.8428 GB, free: 9.652 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1133, allocations: 0.5625 kB / 0.8428 GB, free: 9.652 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.0003111/0.1136, allocations: 255.1 kB / 0.8431 GB, free: 9.371 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1137, allocations: 12.03 kB / 0.8431 GB, free: 9.359 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.1137, allocations: 5.453 kB / 0.8431 GB, free: 9.355 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.546e-05/0.1138, allocations: 119.1 kB / 0.8432 GB, free: 9.215 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.1138, allocations: 384 / 0.8432 GB, free: 9.215 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.1138, allocations: 4.812 kB / 0.8432 GB, free: 9.211 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.8e-05/0.1139, allocations: 42.88 kB / 0.8433 GB, free: 9.164 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1139, allocations: 192 / 0.8433 GB, free: 9.164 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1139, allocations: 4.625 kB / 0.8433 GB, free: 9.16 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1139, allocations: 0 / 0.8433 GB, free: 9.16 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.716e-05/0.1139, allocations: 16.52 kB / 0.8433 GB, free: 9.145 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.114, allocations: 106.1 kB / 0.8434 GB, free: 9.012 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.1142, allocations: 46.64 kB / 0.8434 GB, free: 8.957 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.1142, allocations: 9.609 kB / 0.8434 GB, free: 8.945 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.1142, allocations: 4 kB / 0.8434 GB, free: 8.941 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.1142, allocations: 35.28 kB / 0.8435 GB, free: 8.898 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1142, allocations: 0.5 kB / 0.8435 GB, free: 8.898 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001307/0.1144, allocations: 57.66 kB / 0.8435 GB, free: 8.836 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.1144, allocations: 56 kB / 0.8436 GB, free: 8.77 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.473e-05/0.1145, allocations: 102.4 kB / 0.8437 GB, free: 8.66 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.547e-06/0.1145, allocations: 25.7 kB / 0.8437 GB, free: 8.629 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.49e-05/0.1145, allocations: 88.64 kB / 0.8438 GB, free: 8.539 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.1145, allocations: 8.531 kB / 0.8438 GB, free: 8.531 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.1145, allocations: 17.72 kB / 0.8438 GB, free: 8.508 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.214e-05/0.1146, allocations: 315.5 kB / 0.8441 GB, free: 8.191 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.1146, allocations: 4.719 kB / 0.8441 GB, free: 8.188 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33e-05/0.1146, allocations: 8 kB / 0.8441 GB, free: 8.18 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.491e-05/0.1147, allocations: 29.28 kB / 0.8441 GB, free: 8.148 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1147, allocations: 256 / 0.8441 GB, free: 8.148 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.626e-05/0.1147, allocations: 46.36 kB / 0.8442 GB, free: 8.098 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1148, allocations: 8.625 kB / 0.8442 GB, free: 8.09 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1148, allocations: 4 kB / 0.8442 GB, free: 8.086 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1148, allocations: 8.516 kB / 0.8442 GB, free: 8.078 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.064e-05/0.1148, allocations: 4 kB / 0.8442 GB, free: 8.074 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1148, allocations: 0.5938 kB / 0.8442 GB, free: 8.074 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.371e-05/0.1148, allocations: 12.52 kB / 0.8442 GB, free: 8.062 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.1148, allocations: 4 kB / 0.8442 GB, free: 8.059 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 5.066e-05/0.1149, allocations: 106.3 kB / 0.8443 GB, free: 7.945 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-06/0.1149, allocations: 4.594 kB / 0.8443 GB, free: 7.941 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.817e-05/0.1149, allocations: 8.25 kB / 0.8443 GB, free: 7.934 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.1149, allocations: 7.875 kB / 0.8444 GB, free: 7.926 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1149, allocations: 0.6562 kB / 0.8444 GB, free: 7.926 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1149, allocations: 0.5938 kB / 0.8444 GB, free: 7.926 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.65e-05/0.115, allocations: 109.3 kB / 0.8445 GB, free: 7.789 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.115, allocations: 0.5625 kB / 0.8445 GB, free: 7.789 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.591e-05/0.115, allocations: 4.656 kB / 0.8445 GB, free: 7.785 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.115, allocations: 4 kB / 0.8445 GB, free: 7.781 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.115, allocations: 4.562 kB / 0.8445 GB, free: 7.777 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.115, allocations: 0 / 0.8445 GB, free: 7.777 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.115, allocations: 4.5 kB / 0.8445 GB, free: 7.773 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.225e-05/0.1151, allocations: 81.95 kB / 0.8446 GB, free: 7.676 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-06/0.1151, allocations: 3.984 kB / 0.8446 GB, free: 7.672 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-06/0.1151, allocations: 4.594 kB / 0.8446 GB, free: 7.668 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-06/0.1151, allocations: 0.625 kB / 0.8446 GB, free: 7.668 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.1151, allocations: 3.938 kB / 0.8446 GB, free: 7.664 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.1151, allocations: 0.5938 kB / 0.8446 GB, free: 7.664 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.567e-05/0.1152, allocations: 91.2 kB / 0.8447 GB, free: 7.574 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1152, allocations: 0.5938 kB / 0.8447 GB, free: 7.574 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001083/0.1153, allocations: 4.719 kB / 0.8447 GB, free: 7.57 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 8.272e-05/0.1153, allocations: 99.91 kB / 0.8448 GB, free: 7.461 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.926e-05/0.1154, allocations: 16 kB / 0.8448 GB, free: 7.445 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1154, allocations: 0.625 kB / 0.8448 GB, free: 7.445 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-05/0.1154, allocations: 12.55 kB / 0.8448 GB, free: 7.434 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001031/0.1155, allocations: 9.594 kB / 0.8448 GB, free: 7.426 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.1158, allocations: 143.1 kB / 0.8449 GB, free: 7.254 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.946e-05/0.1158, allocations: 64.06 kB / 0.845 GB, free: 7.172 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.1158, allocations: 7.438 kB / 0.845 GB, free: 7.164 MB / 474.8 MB Notification: Performance of SimCode: time 2.4e-07/0.1158, allocations: 0.5 kB / 0.845 GB, free: 7.164 MB / 474.8 MB Notification: Performance of Templates: time 0.001305/0.1171, allocations: 0.5106 MB / 0.8455 GB, free: 6.676 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Glatard2020_PD_prl.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Glatard2020_PD_prl.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Glatard2020_PD_prl.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Glatard2020_PD_prl.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Glatard2020_PD_prl.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Glatard2020_PD_prl > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Glatard2020_PD_prl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.771724807098508]