Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug.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.001061/0.001061, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001567/0.002627, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.001119/0.001119, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.002506, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9581/0.9581, allocations: 177.1 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08054/1.039, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02464/0.7988, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.816e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug): time 0.001219/0.001237, allocations: 0.685 MB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.486e-05/0.001262, allocations: 11.92 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.377e-05/0.001275, allocations: 4 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.807e-06/0.001279, allocations: 4 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.854e-06/0.001287, allocations: 3.938 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.052e-05/0.001308, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.399e-05/0.001352, allocations: 19.92 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.156e-05/0.001383, allocations: 3.984 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.228e-05/0.001425, allocations: 15.98 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.874e-05/0.001464, allocations: 3.984 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.00148, allocations: 0 / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.717e-06/0.001483, allocations: 4 kB / 0.5451 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.075e-06/0.001491, allocations: 7.938 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.518e-05/0.001507, allocations: 4 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 4.759e-05/0.001554, allocations: 4 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.001567, allocations: 3.984 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.001568, allocations: 3.938 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.001577, allocations: 0 / 0.5452 GB, free: 29.86 MB / 410.7 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.0002303/0.001808, allocations: 235 kB / 0.5454 GB, free: 29.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.454e-05/0.001832, allocations: 15.89 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.896e-05/0.001851, allocations: 4.938 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.58e-05/0.001897, allocations: 113.7 kB / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.001906, allocations: 4.375 kB / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-06/0.001912, allocations: 4.375 kB / 0.5455 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.097e-05/0.001963, allocations: 34.25 kB / 0.5456 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.001968, allocations: 192 / 0.5456 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.949e-06/0.001973, allocations: 384 / 0.5456 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.001977, allocations: 384 / 0.5456 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.633e-05/0.001993, allocations: 19.86 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6e-05/0.002053, allocations: 61.05 kB / 0.5456 GB, free: 29.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.002171, allocations: 38.61 kB / 0.5457 GB, free: 29.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.002186, allocations: 16.83 kB / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-06/0.002191, allocations: 4 kB / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.32e-05/0.002204, allocations: 34.56 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.002205, allocations: 0 / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 7.33e-05/0.002278, allocations: 49.72 kB / 0.5458 GB, free: 29.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.69e-05/0.002295, allocations: 51.41 kB / 0.5458 GB, free: 29.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.791e-05/0.002323, allocations: 102.7 kB / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.127e-06/0.002327, allocations: 29.7 kB / 0.546 GB, free: 28.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.434e-06/0.002335, allocations: 84.12 kB / 0.546 GB, free: 28.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.002354, allocations: 11.84 kB / 0.546 GB, free: 28.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.002377, allocations: 21.7 kB / 0.5461 GB, free: 28.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.515e-05/0.002402, allocations: 326.8 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-06/0.002408, allocations: 0 / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-06/0.002414, allocations: 4 kB / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.084e-05/0.002435, allocations: 16.84 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.002436, allocations: 0 / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.952e-05/0.002476, allocations: 49.31 kB / 0.5464 GB, free: 28.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.002487, allocations: 6.812 kB / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.002491, allocations: 0 / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.002498, allocations: 0 / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.625e-05/0.002534, allocations: 8 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.002536, allocations: 0 / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.002547, allocations: 4 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-06/0.002549, allocations: 0 / 0.5465 GB, free: 28.39 MB / 410.7 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 2.954e-05/0.002579, allocations: 121.8 kB / 0.5466 GB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-06/0.002582, allocations: 0 / 0.5466 GB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.396e-05/0.002596, allocations: 15.62 kB / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.002598, allocations: 0 / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.002599, allocations: 0 / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.002601, allocations: 0 / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.092e-05/0.002642, allocations: 69.84 kB / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.002643, allocations: 0 / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.002658, allocations: 11.92 kB / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.002664, allocations: 8 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.41e-07/0.002664, allocations: 0 / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-06/0.002667, allocations: 0 / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.002667, allocations: 0 / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.002668, allocations: 0 / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.875e-05/0.002707, allocations: 73.05 kB / 0.5468 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.162e-06/0.002713, allocations: 4 kB / 0.5468 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-06/0.002719, allocations: 0 / 0.5468 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.002731, allocations: 4.359 kB / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-06/0.002732, allocations: 0 / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.763e-06/0.002739, allocations: 8.859 kB / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.002739, allocations: 4 kB / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.415e-05/0.002823, allocations: 4 kB / 0.5468 GB, free: 28.02 MB / 410.7 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 4.927e-05/0.002872, allocations: 91.67 kB / 0.5469 GB, free: 27.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.719e-05/0.002919, allocations: 24.83 kB / 0.5469 GB, free: 27.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.002921, allocations: 0 / 0.5469 GB, free: 27.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.353e-06/0.002928, allocations: 12.86 kB / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.259e-05/0.002981, allocations: 9.844 kB / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000147/0.003128, allocations: 158.1 kB / 0.5471 GB, free: 27.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.992e-05/0.003148, allocations: 71.28 kB / 0.5471 GB, free: 27.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.003174, allocations: 51.38 kB / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.003174, allocations: 0 / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of Templates: time 0.0009751/0.004149, allocations: 0.5132 MB / 0.5477 GB, free: 27.04 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.011704606004059]