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.001999/0.001999, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.002067/0.002067, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.67/1.67, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.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.418/1.418, allocations: 316.7 MB / 0.6144 GB, free: 93.07 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: 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.004105/0.004105, allocations: 77.31 kB / 0.775 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2217, allocations: 74 MB / 0.8472 GB, free: 4.91 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect): time 0.002356/0.224, allocations: 0.6326 MB / 0.8478 GB, free: 4.293 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.588e-05/0.2241, allocations: 12.48 kB / 0.8478 GB, free: 4.281 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.2241, allocations: 0.5312 kB / 0.8478 GB, free: 4.281 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.1e-05/0.2241, allocations: 0 / 0.8478 GB, free: 4.281 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.541e-05/0.2242, allocations: 4.594 kB / 0.8479 GB, free: 4.277 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.264e-05/0.2242, allocations: 0.625 kB / 0.8479 GB, free: 4.277 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.301e-05/0.2243, allocations: 15.98 kB / 0.8479 GB, free: 4.262 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.2243, allocations: 4.531 kB / 0.8479 GB, free: 4.258 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.527e-05/0.2243, allocations: 4.609 kB / 0.8479 GB, free: 4.254 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.071e-05/0.2244, allocations: 11.92 kB / 0.8479 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.2244, allocations: 0.625 kB / 0.8479 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-06/0.2244, allocations: 4 kB / 0.8479 GB, free: 4.238 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.595e-05/0.2244, allocations: 8.625 kB / 0.8479 GB, free: 4.23 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 1.673e-05/0.2244, allocations: 4.828 kB / 0.8479 GB, free: 4.227 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.445e-05/0.2245, allocations: 11.92 kB / 0.8479 GB, free: 4.215 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2245, allocations: 0 / 0.8479 GB, free: 4.215 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2245, allocations: 0.5938 kB / 0.8479 GB, free: 4.215 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2245, allocations: 0.5938 kB / 0.8479 GB, free: 4.215 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.0003564/0.2248, allocations: 259.1 kB / 0.8482 GB, free: 3.93 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.2249, allocations: 8.031 kB / 0.8482 GB, free: 3.922 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.699e-05/0.2249, allocations: 9.625 kB / 0.8482 GB, free: 3.914 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.225, allocations: 114.5 kB / 0.8483 GB, free: 3.777 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-06/0.225, allocations: 5.031 kB / 0.8483 GB, free: 3.773 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.225, allocations: 384 / 0.8483 GB, free: 3.773 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.696e-05/0.2251, allocations: 38.95 kB / 0.8483 GB, free: 3.73 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.619e-06/0.2251, allocations: 192 / 0.8483 GB, free: 3.73 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.2251, allocations: 4.625 kB / 0.8483 GB, free: 3.727 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-06/0.2251, allocations: 3.938 kB / 0.8483 GB, free: 3.723 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.605e-05/0.2252, allocations: 12.55 kB / 0.8484 GB, free: 3.711 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.2253, allocations: 102.2 kB / 0.8484 GB, free: 3.582 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.2256, allocations: 50.53 kB / 0.8485 GB, free: 3.523 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.2256, allocations: 13.7 kB / 0.8485 GB, free: 3.508 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.2256, allocations: 4.656 kB / 0.8485 GB, free: 3.504 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.2257, allocations: 34.56 kB / 0.8485 GB, free: 3.461 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.2257, allocations: 0.6562 kB / 0.8485 GB, free: 3.461 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001921/0.2258, allocations: 57.56 kB / 0.8486 GB, free: 3.398 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.2259, allocations: 56 kB / 0.8487 GB, free: 3.332 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.226, allocations: 106.3 kB / 0.8488 GB, free: 3.219 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.226, allocations: 25.7 kB / 0.8488 GB, free: 3.188 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.2261, allocations: 88.8 kB / 0.8489 GB, free: 3.098 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.2261, allocations: 13.06 kB / 0.8489 GB, free: 3.086 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.2262, allocations: 17.72 kB / 0.8489 GB, free: 3.062 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.2264, allocations: 314.8 kB / 0.8492 GB, free: 2.746 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.2264, allocations: 4 kB / 0.8492 GB, free: 2.742 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.702e-05/0.2264, allocations: 9.031 kB / 0.8492 GB, free: 2.734 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.966e-05/0.2264, allocations: 20.86 kB / 0.8492 GB, free: 2.711 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2264, allocations: 0.8125 kB / 0.8492 GB, free: 2.711 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.66e-05/0.2265, allocations: 49.95 kB / 0.8493 GB, free: 2.656 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2266, allocations: 8 kB / 0.8493 GB, free: 2.648 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2266, allocations: 5.578 kB / 0.8493 GB, free: 2.645 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.2266, allocations: 3.938 kB / 0.8493 GB, free: 2.641 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.8e-05/0.2266, allocations: 4 kB / 0.8493 GB, free: 2.637 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.2266, allocations: 3.984 kB / 0.8493 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/0.2267, allocations: 14.45 kB / 0.8493 GB, free: 2.621 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.2267, allocations: 7.984 kB / 0.8493 GB, free: 2.613 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 0.0001022/0.2268, allocations: 106.4 kB / 0.8494 GB, free: 2.5 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-06/0.2268, allocations: 4 kB / 0.8494 GB, free: 2.496 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.2268, allocations: 7.688 kB / 0.8494 GB, free: 2.488 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2268, allocations: 3.938 kB / 0.8494 GB, free: 2.484 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2268, allocations: 0.5 kB / 0.8494 GB, free: 2.484 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2268, allocations: 1.031 kB / 0.8494 GB, free: 2.484 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.227, allocations: 109.3 kB / 0.8495 GB, free: 2.348 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.227, allocations: 3.938 kB / 0.8495 GB, free: 2.344 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.227, allocations: 5.938 kB / 0.8496 GB, free: 2.34 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.227, allocations: 0 / 0.8496 GB, free: 2.34 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.227, allocations: 4 kB / 0.8496 GB, free: 2.336 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.227, allocations: 0 / 0.8496 GB, free: 2.336 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.227, allocations: 7.875 kB / 0.8496 GB, free: 2.328 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.2271, allocations: 77.8 kB / 0.8496 GB, free: 2.234 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-06/0.2271, allocations: 0 / 0.8496 GB, free: 2.234 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.2271, allocations: 1.094 kB / 0.8496 GB, free: 2.234 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.907e-05/0.2272, allocations: 7.984 kB / 0.8496 GB, free: 2.227 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.2272, allocations: 3.938 kB / 0.8497 GB, free: 2.223 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.2272, allocations: 0.75 kB / 0.8497 GB, free: 2.223 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.255e-05/0.2273, allocations: 87.78 kB / 0.8497 GB, free: 2.137 MB / 474.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2273, allocations: 0 / 0.8497 GB, free: 2.137 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001731/0.2274, allocations: 4.594 kB / 0.8497 GB, free: 2.133 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 0.0001424/0.2276, allocations: 104 kB / 0.8498 GB, free: 2.02 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.2277, allocations: 20.66 kB / 0.8499 GB, free: 2 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2277, allocations: 0 / 0.8499 GB, free: 2 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.271e-05/0.2277, allocations: 12.61 kB / 0.8499 GB, free: 1.988 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.2279, allocations: 8.5 kB / 0.8499 GB, free: 1.98 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.2282, allocations: 113.5 kB / 0.85 GB, free: 1.844 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.2286, allocations: 67.95 kB / 0.8501 GB, free: 1.758 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.686e-05/0.2286, allocations: 0.5625 kB / 0.8501 GB, free: 1.758 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.2287, allocations: 11.44 kB / 0.8501 GB, free: 1.746 MB / 474.8 MB Notification: Performance of SimCode: time 4.11e-07/0.2287, allocations: 0.625 kB / 0.8501 GB, free: 1.746 MB / 474.8 MB Notification: Performance of Templates: time 0.003084/0.2317, allocations: 416.2 kB / 0.8505 GB, free: 1.41 MB / 474.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: 7.3236351332161576]