Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.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.0006534/0.0006534, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009571/0.00161, 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.000701/0.000701, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000938/0.001639, 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.9626/0.9626, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1087/1.071, allocations: 53.65 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.7349/0.7349, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02616/0.761, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.5444 GB, free: 30.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021e-05/1.148e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg): time 0.001145/0.001156, allocations: 0.6904 MB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.341e-05/0.00119, allocations: 11.91 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.757e-05/0.001207, allocations: 4 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.823e-06/0.001214, allocations: 3.938 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.141e-05/0.001226, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.734e-05/0.001253, allocations: 4 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.158e-05/0.001304, allocations: 15.92 kB / 0.5451 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.001345, allocations: 4 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.336e-05/0.001398, allocations: 11.98 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.001452, allocations: 7.984 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.001474, allocations: 3.938 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.41e-06/0.001479, allocations: 0 / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.001491, allocations: 4 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.001511, allocations: 8 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.684e-05/0.001568, allocations: 7.938 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.556e-05/0.001583, allocations: 0 / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.001584, allocations: 0 / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.001601, allocations: 0 / 0.5452 GB, free: 29.84 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.0003136/0.001915, allocations: 243 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.00195, allocations: 15.83 kB / 0.5454 GB, free: 29.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.001976, allocations: 4.938 kB / 0.5454 GB, free: 29.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.247e-05/0.002038, allocations: 109.8 kB / 0.5455 GB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.002052, allocations: 384 / 0.5455 GB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.002059, allocations: 4.375 kB / 0.5456 GB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.795e-05/0.002127, allocations: 38.25 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.002136, allocations: 4.188 kB / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.002142, allocations: 384 / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.002148, allocations: 384 / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.492e-05/0.002173, allocations: 11.88 kB / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.419e-05/0.002257, allocations: 61.03 kB / 0.5457 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.002389, allocations: 42.59 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.562e-05/0.002405, allocations: 16.86 kB / 0.5457 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.002412, allocations: 7.984 kB / 0.5457 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.002426, allocations: 30.56 kB / 0.5458 GB, free: 29.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.002428, allocations: 0 / 0.5458 GB, free: 29.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 7.646e-05/0.002504, allocations: 45.72 kB / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.002523, allocations: 55.41 kB / 0.5459 GB, free: 29.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.3e-05/0.002556, allocations: 110.1 kB / 0.546 GB, free: 28.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-06/0.002561, allocations: 25.7 kB / 0.546 GB, free: 28.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.464e-06/0.002568, allocations: 84.14 kB / 0.5461 GB, free: 28.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.002591, allocations: 15.84 kB / 0.5461 GB, free: 28.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.002613, allocations: 17.7 kB / 0.5461 GB, free: 28.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.881e-05/0.002642, allocations: 318.8 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-06/0.00265, allocations: 8 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-06/0.002656, allocations: 4 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.003e-05/0.002676, allocations: 16.84 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.002678, allocations: 0 / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.28e-05/0.00271, allocations: 49.62 kB / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.986e-06/0.002719, allocations: 4 kB / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.002723, allocations: 0 / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.00273, allocations: 0 / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.891e-05/0.002759, allocations: 8 kB / 0.5465 GB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.002761, allocations: 0 / 0.5465 GB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-06/0.00277, allocations: 0 / 0.5465 GB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-06/0.002773, allocations: 4 kB / 0.5465 GB, free: 28.36 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.911e-05/0.002802, allocations: 117.7 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-06/0.002806, allocations: 3.984 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.546e-05/0.002821, allocations: 7.688 kB / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.002823, allocations: 4 kB / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.002824, allocations: 0 / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.002826, allocations: 0 / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.877e-05/0.002865, allocations: 69.83 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.002866, allocations: 7.938 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.461e-05/0.00288, allocations: 7.984 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-06/0.002885, allocations: 8 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.002886, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-06/0.002889, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.002889, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.00289, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.731e-05/0.002927, allocations: 69.06 kB / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-06/0.002934, allocations: 3.375 kB / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-06/0.002941, allocations: 4 kB / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-06/0.002951, allocations: 3.984 kB / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-06/0.002953, allocations: 384 / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.111e-06/0.002959, allocations: 8.859 kB / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.002959, allocations: 4 kB / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.635e-05/0.003045, allocations: 11.94 kB / 0.5468 GB, free: 27.99 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.743e-05/0.003092, allocations: 80.42 kB / 0.5469 GB, free: 27.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.855e-05/0.003141, allocations: 20.83 kB / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.003143, allocations: 0 / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.004e-05/0.003153, allocations: 12.86 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.926e-05/0.003203, allocations: 3.938 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000153/0.003356, allocations: 165.2 kB / 0.5471 GB, free: 27.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.144e-05/0.003377, allocations: 67.34 kB / 0.5471 GB, free: 27.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.003403, allocations: 51.38 kB / 0.5472 GB, free: 27.53 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.003403, allocations: 0 / 0.5472 GB, free: 27.53 MB / 410.7 MB Notification: Performance of Templates: time 0.0009083/0.004311, allocations: 0.5152 MB / 0.5477 GB, free: 27.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.809400270693004]