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.0009674/0.0009674, allocations: 104.3 kB / 19.71 MB, free: 436 kB / 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.0009991/0.0009991, allocations: 216.6 kB / 23 MB, free: 2.953 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.038/1.038, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.7746/0.7746, allocations: 312.3 MB / 0.6109 GB, free: 97.83 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: 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.001645/0.001645, allocations: 74.83 kB / 0.7699 GB, free: 20.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1278, allocations: 74 MB / 0.8421 GB, free: 10.46 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect): time 0.001419/0.1293, allocations: 0.6237 MB / 0.8428 GB, free: 9.855 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.71e-05/0.1293, allocations: 12.55 kB / 0.8428 GB, free: 9.844 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.1293, allocations: 0.5312 kB / 0.8428 GB, free: 9.844 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.1294, allocations: 4.656 kB / 0.8428 GB, free: 9.84 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.966e-05/0.1294, allocations: 3.938 kB / 0.8428 GB, free: 9.836 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.263e-05/0.1295, allocations: 4.594 kB / 0.8428 GB, free: 9.832 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.788e-05/0.1295, allocations: 11.98 kB / 0.8428 GB, free: 9.82 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.923e-05/0.1296, allocations: 8.672 kB / 0.8428 GB, free: 9.812 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.92e-05/0.1296, allocations: 8.609 kB / 0.8428 GB, free: 9.805 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.1296, allocations: 3.938 kB / 0.8428 GB, free: 9.801 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1296, allocations: 0.7812 kB / 0.8428 GB, free: 9.801 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.3e-06/0.1296, allocations: 4 kB / 0.8428 GB, free: 9.797 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.1297, allocations: 12.55 kB / 0.8428 GB, free: 9.785 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.1297, allocations: 0 / 0.8428 GB, free: 9.785 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.359e-05/0.1298, allocations: 12.55 kB / 0.8428 GB, free: 9.773 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1298, allocations: 0 / 0.8428 GB, free: 9.773 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.756e-06/0.1298, allocations: 0.75 kB / 0.8428 GB, free: 9.773 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1298, allocations: 0 / 0.8428 GB, free: 9.773 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.0003529/0.1301, allocations: 255.5 kB / 0.8431 GB, free: 9.492 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1302, allocations: 12.03 kB / 0.8431 GB, free: 9.48 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.1302, allocations: 1.531 kB / 0.8431 GB, free: 9.48 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.444e-05/0.1303, allocations: 122.4 kB / 0.8432 GB, free: 9.336 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1303, allocations: 1 kB / 0.8432 GB, free: 9.336 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.1303, allocations: 0.875 kB / 0.8432 GB, free: 9.336 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.1304, allocations: 46.23 kB / 0.8433 GB, free: 9.285 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1304, allocations: 0.8125 kB / 0.8433 GB, free: 9.285 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1304, allocations: 4.438 kB / 0.8433 GB, free: 9.281 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1304, allocations: 0 / 0.8433 GB, free: 9.281 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.828e-05/0.1305, allocations: 12.7 kB / 0.8433 GB, free: 9.27 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.1306, allocations: 105.3 kB / 0.8434 GB, free: 9.137 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.1308, allocations: 55.27 kB / 0.8434 GB, free: 9.074 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.1308, allocations: 17.48 kB / 0.8434 GB, free: 9.055 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.1308, allocations: 0.625 kB / 0.8434 GB, free: 9.055 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.1308, allocations: 34.56 kB / 0.8435 GB, free: 9.012 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.1308, allocations: 0.625 kB / 0.8435 GB, free: 9.012 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.000148/0.131, allocations: 62.16 kB / 0.8435 GB, free: 8.945 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.131, allocations: 51.41 kB / 0.8436 GB, free: 8.883 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/0.1311, allocations: 102.8 kB / 0.8437 GB, free: 8.773 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.1311, allocations: 25.7 kB / 0.8437 GB, free: 8.742 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.1311, allocations: 96.84 kB / 0.8438 GB, free: 8.645 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.1312, allocations: 7.906 kB / 0.8438 GB, free: 8.637 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.1312, allocations: 18.34 kB / 0.8438 GB, free: 8.613 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.1313, allocations: 310.8 kB / 0.8441 GB, free: 8.301 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.1313, allocations: 8.609 kB / 0.8441 GB, free: 8.293 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/0.1313, allocations: 8 kB / 0.8441 GB, free: 8.285 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.784e-05/0.1313, allocations: 21.52 kB / 0.8442 GB, free: 8.262 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1313, allocations: 0 / 0.8442 GB, free: 8.262 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.146e-05/0.1314, allocations: 50.16 kB / 0.8442 GB, free: 8.207 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1314, allocations: 8.5 kB / 0.8442 GB, free: 8.199 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1314, allocations: 0.5 kB / 0.8442 GB, free: 8.199 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1314, allocations: 3.938 kB / 0.8442 GB, free: 8.195 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.309e-05/0.1315, allocations: 4.656 kB / 0.8442 GB, free: 8.191 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.1315, allocations: 4.547 kB / 0.8442 GB, free: 8.188 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.1315, allocations: 7.953 kB / 0.8442 GB, free: 8.18 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.1315, allocations: 4.5 kB / 0.8442 GB, free: 8.176 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 6.434e-05/0.1316, allocations: 114.5 kB / 0.8444 GB, free: 8.055 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-06/0.1316, allocations: 4.625 kB / 0.8444 GB, free: 8.051 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.1316, allocations: 7.688 kB / 0.8444 GB, free: 8.043 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1316, allocations: 4.797 kB / 0.8444 GB, free: 8.039 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1316, allocations: 0.5625 kB / 0.8444 GB, free: 8.039 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1316, allocations: 4 kB / 0.8444 GB, free: 8.035 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.284e-05/0.1317, allocations: 109.9 kB / 0.8445 GB, free: 7.898 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1317, allocations: 0.6562 kB / 0.8445 GB, free: 7.898 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-05/0.1317, allocations: 4 kB / 0.8445 GB, free: 7.895 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1317, allocations: 4.594 kB / 0.8445 GB, free: 7.891 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.1317, allocations: 3.938 kB / 0.8445 GB, free: 7.887 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.1317, allocations: 0.5938 kB / 0.8445 GB, free: 7.887 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1317, allocations: 8.5 kB / 0.8445 GB, free: 7.879 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.209e-05/0.1318, allocations: 77.08 kB / 0.8446 GB, free: 7.785 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-06/0.1318, allocations: 0.7188 kB / 0.8446 GB, free: 7.785 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1318, allocations: 4 kB / 0.8446 GB, free: 7.781 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-06/0.1318, allocations: 0.5938 kB / 0.8446 GB, free: 7.781 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.1318, allocations: 8.578 kB / 0.8446 GB, free: 7.773 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-06/0.1318, allocations: 0 / 0.8446 GB, free: 7.773 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.711e-05/0.1318, allocations: 88.16 kB / 0.8447 GB, free: 7.688 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1318, allocations: 0 / 0.8447 GB, free: 7.688 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001068/0.1319, allocations: 4.719 kB / 0.8447 GB, free: 7.684 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 8.57e-05/0.132, allocations: 99.78 kB / 0.8448 GB, free: 7.574 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.634e-05/0.1321, allocations: 28.67 kB / 0.8448 GB, free: 7.547 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1321, allocations: 0 / 0.8448 GB, free: 7.547 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.408e-06/0.1321, allocations: 4.75 kB / 0.8448 GB, free: 7.543 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.1322, allocations: 11.94 kB / 0.8448 GB, free: 7.531 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002587/0.1325, allocations: 139.7 kB / 0.8449 GB, free: 7.363 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.1325, allocations: 59.86 kB / 0.845 GB, free: 7.285 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.1326, allocations: 12.06 kB / 0.845 GB, free: 7.273 MB / 474.8 MB Notification: Performance of SimCode: time 8.72e-07/0.1326, allocations: 0 / 0.845 GB, free: 7.273 MB / 474.8 MB Notification: Performance of Templates: time 0.001566/0.1341, allocations: 0.5159 MB / 0.8455 GB, free: 6.777 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 > 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.821664948016405]