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.001053/0.001053, allocations: 92.42 kB / 19.94 MB, free: 4.598 MB / 18.57 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.001156/0.001156, allocations: 165.9 kB / 23.21 MB, free: 1.324 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 0.9676/0.9676, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.7638/0.7638, allocations: 291.2 MB / 0.5382 GB, free: 51.89 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.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.393e-06/1.393e-06, allocations: 3.938 kB / 0.6973 GB, free: 10.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.332e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect): time 0.001315/0.001348, allocations: 0.6259 MB / 0.6979 GB, free: 9.742 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.696e-05/0.001395, allocations: 15.92 kB / 0.698 GB, free: 9.727 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.001421, allocations: 3.938 kB / 0.698 GB, free: 9.723 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.001436, allocations: 0 / 0.698 GB, free: 9.723 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.923e-05/0.001465, allocations: 3.938 kB / 0.698 GB, free: 9.719 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.019e-05/0.001515, allocations: 0 / 0.698 GB, free: 9.719 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.594e-05/0.001571, allocations: 15.98 kB / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/0.001624, allocations: 7.938 kB / 0.698 GB, free: 9.695 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.001659, allocations: 15.97 kB / 0.698 GB, free: 9.68 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.195e-05/0.001711, allocations: 3.984 kB / 0.698 GB, free: 9.676 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.001732, allocations: 0 / 0.698 GB, free: 9.676 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.268e-06/0.001736, allocations: 8 kB / 0.698 GB, free: 9.668 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.001751, allocations: 0 / 0.698 GB, free: 9.668 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.00177, allocations: 3.938 kB / 0.698 GB, free: 9.664 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.589e-05/0.001825, allocations: 15.92 kB / 0.698 GB, free: 9.648 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.001828, allocations: 3.984 kB / 0.698 GB, free: 9.645 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.21e-07/0.001828, allocations: 0 / 0.698 GB, free: 9.645 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.001833, allocations: 0 / 0.698 GB, free: 9.645 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.0002953/0.002128, allocations: 254.4 kB / 0.6983 GB, free: 9.363 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.002177, allocations: 12.03 kB / 0.6983 GB, free: 9.352 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.002207, allocations: 0.9375 kB / 0.6983 GB, free: 9.352 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.589e-05/0.002273, allocations: 117.7 kB / 0.6984 GB, free: 9.211 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.002283, allocations: 384 / 0.6984 GB, free: 9.211 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-06/0.00229, allocations: 384 / 0.6984 GB, free: 9.211 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.157e-05/0.002372, allocations: 46.19 kB / 0.6984 GB, free: 9.16 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.002379, allocations: 192 / 0.6984 GB, free: 9.16 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.002386, allocations: 384 / 0.6984 GB, free: 9.16 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.00239, allocations: 384 / 0.6984 GB, free: 9.16 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.96e-05/0.00243, allocations: 15.94 kB / 0.6985 GB, free: 9.145 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.494e-05/0.002525, allocations: 109.3 kB / 0.6986 GB, free: 9.008 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.00268, allocations: 50.52 kB / 0.6986 GB, free: 8.949 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.475e-05/0.002704, allocations: 20.86 kB / 0.6986 GB, free: 8.926 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.002713, allocations: 0 / 0.6986 GB, free: 8.926 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.026e-05/0.002723, allocations: 30.56 kB / 0.6987 GB, free: 8.887 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 6.21e-07/0.002724, allocations: 3.938 kB / 0.6987 GB, free: 8.883 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001154/0.002839, allocations: 57.83 kB / 0.6987 GB, free: 8.82 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.00286, allocations: 51.41 kB / 0.6988 GB, free: 8.758 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.014e-05/0.0029, allocations: 102 kB / 0.6989 GB, free: 8.648 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.002906, allocations: 29.7 kB / 0.6989 GB, free: 8.613 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.321e-05/0.002919, allocations: 84.14 kB / 0.699 GB, free: 8.527 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.002943, allocations: 11.84 kB / 0.699 GB, free: 8.516 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.002974, allocations: 21.7 kB / 0.699 GB, free: 8.488 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.537e-05/0.00301, allocations: 318.8 kB / 0.6993 GB, free: 8.168 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.00303, allocations: 8 kB / 0.6993 GB, free: 8.16 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.285e-05/0.003043, allocations: 8.062 kB / 0.6993 GB, free: 8.152 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.426e-05/0.003077, allocations: 24.84 kB / 0.6993 GB, free: 8.125 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.003079, allocations: 0 / 0.6993 GB, free: 8.125 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.359e-05/0.003133, allocations: 45.7 kB / 0.6994 GB, free: 8.074 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.003145, allocations: 11.98 kB / 0.6994 GB, free: 8.062 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.003151, allocations: 0 / 0.6994 GB, free: 8.062 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.003164, allocations: 0 / 0.6994 GB, free: 8.062 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.323e-05/0.003207, allocations: 8.266 kB / 0.6994 GB, free: 8.055 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.003212, allocations: 0 / 0.6994 GB, free: 8.055 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.234e-05/0.003225, allocations: 15.89 kB / 0.6994 GB, free: 8.039 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.003229, allocations: 0 / 0.6994 GB, free: 8.039 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.073e-05/0.00327, allocations: 105.8 kB / 0.6995 GB, free: 7.926 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-06/0.003273, allocations: 4 kB / 0.6995 GB, free: 7.922 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.003292, allocations: 11.67 kB / 0.6995 GB, free: 7.91 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.003294, allocations: 0 / 0.6995 GB, free: 7.91 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.003299, allocations: 3.984 kB / 0.6995 GB, free: 7.906 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.003303, allocations: 7.938 kB / 0.6996 GB, free: 7.898 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.744e-05/0.00335, allocations: 101.3 kB / 0.6997 GB, free: 7.77 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.003351, allocations: 0 / 0.6997 GB, free: 7.77 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.651e-05/0.003368, allocations: 8 kB / 0.6997 GB, free: 7.762 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.003369, allocations: 4 kB / 0.6997 GB, free: 7.758 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.003376, allocations: 0 / 0.6997 GB, free: 7.758 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.003377, allocations: 3.984 kB / 0.6997 GB, free: 7.754 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.003379, allocations: 0 / 0.6997 GB, free: 7.754 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.547e-05/0.003444, allocations: 84.95 kB / 0.6997 GB, free: 7.652 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-06/0.003449, allocations: 3.938 kB / 0.6998 GB, free: 7.648 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.003459, allocations: 4 kB / 0.6998 GB, free: 7.645 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-06/0.003467, allocations: 0 / 0.6998 GB, free: 7.645 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.003479, allocations: 3.938 kB / 0.6998 GB, free: 7.641 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.003481, allocations: 0 / 0.6998 GB, free: 7.641 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.67e-05/0.003498, allocations: 95.27 kB / 0.6998 GB, free: 7.547 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003498, allocations: 0 / 0.6998 GB, free: 7.547 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001052/0.003603, allocations: 7.938 kB / 0.6999 GB, free: 7.539 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 6.211e-05/0.003665, allocations: 99.25 kB / 0.7 GB, free: 7.434 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.235e-05/0.003738, allocations: 23.98 kB / 0.7 GB, free: 7.41 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.003739, allocations: 0 / 0.7 GB, free: 7.41 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.578e-06/0.003749, allocations: 7.938 kB / 0.7 GB, free: 7.402 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.003862, allocations: 9.562 kB / 0.7 GB, free: 7.395 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.004095, allocations: 138.5 kB / 0.7001 GB, free: 7.227 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.085e-05/0.004126, allocations: 63.34 kB / 0.7002 GB, free: 7.145 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.004152, allocations: 12.5 kB / 0.7002 GB, free: 7.133 MB / 410.8 MB Notification: Performance of SimCode: time 4.81e-07/0.004152, allocations: 0 / 0.7002 GB, free: 7.133 MB / 410.8 MB Notification: Performance of Templates: time 0.001411/0.005564, allocations: 0.5168 MB / 0.7007 GB, free: 6.621 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 > 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: 5.057271347381175]