Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect.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.001858/0.001858, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.002149/0.002149, allocations: 174.3 kB / 22.46 MB, free: 2.102 MB / 18.57 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.726/1.726, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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 1.336/1.336, allocations: 292.9 MB / 0.5392 GB, free: 49.82 MB / 410.7 MB " [Timeout remaining time 178] 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.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.6999 GB, free: 8.602 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.256e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.598 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect): time 0.001546/0.001578, allocations: 0.6261 MB / 0.7005 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.771e-05/0.001626, allocations: 11.94 kB / 0.7005 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.001659, allocations: 0 / 0.7005 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.001675, allocations: 0 / 0.7005 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.895e-05/0.001704, allocations: 3.938 kB / 0.7005 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.581e-05/0.00176, allocations: 3.984 kB / 0.7005 GB, free: 7.949 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.131e-05/0.001821, allocations: 23.91 kB / 0.7005 GB, free: 7.926 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.638e-05/0.001878, allocations: 4 kB / 0.7005 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.594e-05/0.001914, allocations: 7.984 kB / 0.7005 GB, free: 7.914 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.937e-05/0.001963, allocations: 4 kB / 0.7005 GB, free: 7.91 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.001989, allocations: 0 / 0.7005 GB, free: 7.91 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.052e-06/0.001995, allocations: 4 kB / 0.7005 GB, free: 7.906 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.002014, allocations: 11.92 kB / 0.7005 GB, free: 7.895 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.002032, allocations: 0 / 0.7005 GB, free: 7.895 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 4.979e-05/0.002082, allocations: 11.97 kB / 0.7006 GB, free: 7.883 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.002084, allocations: 3.938 kB / 0.7006 GB, free: 7.879 MB / 410.8 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002084, allocations: 0 / 0.7006 GB, free: 7.879 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.002088, allocations: 4 kB / 0.7006 GB, free: 7.875 MB / 410.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.0003246/0.002412, allocations: 258.3 kB / 0.7008 GB, free: 7.59 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.002448, allocations: 8.031 kB / 0.7008 GB, free: 7.582 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.002482, allocations: 12.92 kB / 0.7008 GB, free: 7.57 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.056e-05/0.002552, allocations: 109.8 kB / 0.7009 GB, free: 7.438 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.002564, allocations: 4.375 kB / 0.7009 GB, free: 7.434 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.002572, allocations: 384 / 0.7009 GB, free: 7.434 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.138e-05/0.002654, allocations: 42.19 kB / 0.701 GB, free: 7.387 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.002662, allocations: 4.125 kB / 0.701 GB, free: 7.383 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.002671, allocations: 4.375 kB / 0.701 GB, free: 7.379 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.002675, allocations: 4.375 kB / 0.701 GB, free: 7.375 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.475e-05/0.00272, allocations: 7.938 kB / 0.701 GB, free: 7.367 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.00283, allocations: 109.4 kB / 0.7011 GB, free: 7.23 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.003001, allocations: 46.64 kB / 0.7012 GB, free: 7.176 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.062e-05/0.003032, allocations: 8.859 kB / 0.7012 GB, free: 7.164 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.003044, allocations: 0 / 0.7012 GB, free: 7.164 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.003062, allocations: 42.5 kB / 0.7012 GB, free: 7.113 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.003063, allocations: 0 / 0.7012 GB, free: 7.113 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.000134/0.003197, allocations: 49.78 kB / 0.7012 GB, free: 7.059 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.003225, allocations: 51.41 kB / 0.7013 GB, free: 6.996 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.992e-05/0.003275, allocations: 113.8 kB / 0.7014 GB, free: 6.875 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.603e-06/0.003281, allocations: 25.7 kB / 0.7014 GB, free: 6.844 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.721e-05/0.003299, allocations: 84.14 kB / 0.7015 GB, free: 6.758 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.003322, allocations: 15.84 kB / 0.7015 GB, free: 6.742 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.003348, allocations: 17.72 kB / 0.7015 GB, free: 6.719 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.003399, allocations: 314.8 kB / 0.7018 GB, free: 6.402 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.003416, allocations: 4 kB / 0.7018 GB, free: 6.398 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.207e-05/0.003428, allocations: 8 kB / 0.7019 GB, free: 6.391 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.003463, allocations: 25.08 kB / 0.7019 GB, free: 6.363 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.003465, allocations: 3.984 kB / 0.7019 GB, free: 6.359 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.713e-05/0.003522, allocations: 45.69 kB / 0.7019 GB, free: 6.309 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.003534, allocations: 15.28 kB / 0.7019 GB, free: 6.297 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.003539, allocations: 0 / 0.7019 GB, free: 6.297 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.003552, allocations: 0 / 0.7019 GB, free: 6.297 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.462e-05/0.003596, allocations: 7.984 kB / 0.7019 GB, free: 6.289 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.003602, allocations: 0 / 0.7019 GB, free: 6.289 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.003625, allocations: 7.891 kB / 0.702 GB, free: 6.281 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.003631, allocations: 4 kB / 0.702 GB, free: 6.277 MB / 410.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.559e-05/0.003676, allocations: 113.8 kB / 0.7021 GB, free: 6.156 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-06/0.003684, allocations: 4 kB / 0.7021 GB, free: 6.152 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.003709, allocations: 11.62 kB / 0.7021 GB, free: 6.141 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.00371, allocations: 4 kB / 0.7021 GB, free: 6.137 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.003714, allocations: 3.938 kB / 0.7021 GB, free: 6.133 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.003716, allocations: 3.938 kB / 0.7021 GB, free: 6.129 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.612e-05/0.003772, allocations: 109.3 kB / 0.7022 GB, free: 5.992 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.003773, allocations: 256 / 0.7022 GB, free: 5.992 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.003806, allocations: 8 kB / 0.7022 GB, free: 5.984 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.003807, allocations: 0 / 0.7022 GB, free: 5.984 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.003814, allocations: 0 / 0.7022 GB, free: 5.984 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.003818, allocations: 4 kB / 0.7022 GB, free: 5.98 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.003819, allocations: 0 / 0.7022 GB, free: 5.98 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.681e-05/0.003886, allocations: 77.02 kB / 0.7023 GB, free: 5.887 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-06/0.003892, allocations: 8 kB / 0.7023 GB, free: 5.879 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.003902, allocations: 3.984 kB / 0.7023 GB, free: 5.875 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.916e-05/0.003921, allocations: 4 kB / 0.7023 GB, free: 5.871 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.003936, allocations: 3.938 kB / 0.7023 GB, free: 5.867 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.003938, allocations: 0 / 0.7023 GB, free: 5.867 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.105e-05/0.003959, allocations: 79.28 kB / 0.7024 GB, free: 5.789 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.003959, allocations: 0 / 0.7024 GB, free: 5.789 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001703/0.00413, allocations: 11.94 kB / 0.7024 GB, free: 5.777 MB / 410.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.726e-05/0.004207, allocations: 103.2 kB / 0.7025 GB, free: 5.668 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.383e-05/0.004281, allocations: 20 kB / 0.7025 GB, free: 5.648 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.004282, allocations: 0 / 0.7025 GB, free: 5.648 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-05/0.004301, allocations: 15.92 kB / 0.7025 GB, free: 5.633 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.004434, allocations: 0.6562 kB / 0.7025 GB, free: 5.633 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.004663, allocations: 116.8 kB / 0.7026 GB, free: 5.492 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.273e-05/0.004695, allocations: 63.34 kB / 0.7027 GB, free: 5.41 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.51e-05/0.00471, allocations: 0 / 0.7027 GB, free: 5.41 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.004731, allocations: 8.5 kB / 0.7027 GB, free: 5.402 MB / 410.8 MB Notification: Performance of SimCode: time 3.61e-07/0.004731, allocations: 4 kB / 0.7027 GB, free: 5.398 MB / 410.8 MB Notification: Performance of Templates: time 0.002647/0.007378, allocations: 417 kB / 0.7031 GB, free: 5.047 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.421039834851399]