Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.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.001312/0.001312, allocations: 104.4 kB / 19.7 MB, free: 448 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.001613/0.001613, allocations: 221.3 kB / 23.01 MB, free: 2.969 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.066/1.066, allocations: 230.6 MB / 256.8 MB, free: 9.621 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.7351/0.7351, allocations: 312.3 MB / 0.6108 GB, free: 97.13 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.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power") [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.001591/0.001591, allocations: 77.55 kB / 0.7699 GB, free: 19.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1268, allocations: 73.99 MB / 0.8421 GB, free: 9.816 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power): time 0.001351/0.1281, allocations: 0.6352 MB / 0.8427 GB, free: 9.195 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.156e-05/0.1282, allocations: 16.7 kB / 0.8428 GB, free: 9.18 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.1282, allocations: 0.625 kB / 0.8428 GB, free: 9.18 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.16e-05/0.1282, allocations: 3.938 kB / 0.8428 GB, free: 9.176 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 2.424e-05/0.1282, allocations: 4.562 kB / 0.8428 GB, free: 9.172 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.552e-05/0.1283, allocations: 0.625 kB / 0.8428 GB, free: 9.172 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.651e-05/0.1283, allocations: 15.98 kB / 0.8428 GB, free: 9.156 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.1284, allocations: 0.5625 kB / 0.8428 GB, free: 9.156 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.909e-05/0.1284, allocations: 11.97 kB / 0.8428 GB, free: 9.145 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.39e-05/0.1284, allocations: 8.656 kB / 0.8428 GB, free: 9.137 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.1285, allocations: 0.625 kB / 0.8428 GB, free: 9.137 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.528e-06/0.1285, allocations: 0 / 0.8428 GB, free: 9.137 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.1285, allocations: 12.58 kB / 0.8428 GB, free: 9.125 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.1285, allocations: 4 kB / 0.8428 GB, free: 9.121 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.586e-05/0.1286, allocations: 12.55 kB / 0.8428 GB, free: 9.109 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1286, allocations: 0 / 0.8428 GB, free: 9.109 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1286, allocations: 4.531 kB / 0.8428 GB, free: 9.105 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1286, allocations: 0.625 kB / 0.8428 GB, free: 9.105 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.0003217/0.1289, allocations: 258.9 kB / 0.8431 GB, free: 8.82 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1289, allocations: 8.031 kB / 0.8431 GB, free: 8.812 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.129, allocations: 1.438 kB / 0.8431 GB, free: 8.812 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.393e-05/0.129, allocations: 119.1 kB / 0.8432 GB, free: 8.672 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.129, allocations: 384 / 0.8432 GB, free: 8.672 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.1291, allocations: 4.875 kB / 0.8432 GB, free: 8.668 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.332e-05/0.1291, allocations: 34.89 kB / 0.8432 GB, free: 8.629 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1292, allocations: 192 / 0.8432 GB, free: 8.629 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1292, allocations: 4.562 kB / 0.8432 GB, free: 8.625 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1292, allocations: 4 kB / 0.8432 GB, free: 8.621 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.331e-05/0.1292, allocations: 8.609 kB / 0.8433 GB, free: 8.613 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.1293, allocations: 109.9 kB / 0.8434 GB, free: 8.477 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1295, allocations: 50.52 kB / 0.8434 GB, free: 8.418 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.1295, allocations: 17.61 kB / 0.8434 GB, free: 8.398 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.1295, allocations: 4.5 kB / 0.8434 GB, free: 8.395 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.1295, allocations: 35.06 kB / 0.8435 GB, free: 8.352 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1295, allocations: 0.6875 kB / 0.8435 GB, free: 8.352 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001402/0.1297, allocations: 57.56 kB / 0.8435 GB, free: 8.289 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.1297, allocations: 51.94 kB / 0.8436 GB, free: 8.227 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.496e-05/0.1298, allocations: 110.4 kB / 0.8437 GB, free: 8.109 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.1298, allocations: 25.7 kB / 0.8437 GB, free: 8.078 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.1298, allocations: 88.75 kB / 0.8438 GB, free: 7.988 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.1298, allocations: 15.84 kB / 0.8438 GB, free: 7.973 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.1298, allocations: 18.34 kB / 0.8438 GB, free: 7.949 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.1299, allocations: 315.4 kB / 0.8441 GB, free: 7.633 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.1299, allocations: 4 kB / 0.8441 GB, free: 7.629 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.315e-05/0.1299, allocations: 8.812 kB / 0.8441 GB, free: 7.621 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.434e-05/0.13, allocations: 21.44 kB / 0.8441 GB, free: 7.598 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.13, allocations: 0 / 0.8441 GB, free: 7.598 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.715e-05/0.13, allocations: 54.25 kB / 0.8442 GB, free: 7.539 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.13, allocations: 6.906 kB / 0.8442 GB, free: 7.535 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.13, allocations: 0 / 0.8442 GB, free: 7.535 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1301, allocations: 8.656 kB / 0.8442 GB, free: 7.527 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.691e-05/0.1301, allocations: 4 kB / 0.8442 GB, free: 7.523 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.1301, allocations: 0.5312 kB / 0.8442 GB, free: 7.523 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.857e-05/0.1301, allocations: 12.78 kB / 0.8442 GB, free: 7.512 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.1301, allocations: 0 / 0.8442 GB, free: 7.512 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 5.218e-05/0.1302, allocations: 111.5 kB / 0.8443 GB, free: 7.395 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-06/0.1302, allocations: 0.8438 kB / 0.8443 GB, free: 7.395 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.99e-05/0.1302, allocations: 11.69 kB / 0.8444 GB, free: 7.383 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1302, allocations: 3.938 kB / 0.8444 GB, free: 7.379 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1302, allocations: 0.5625 kB / 0.8444 GB, free: 7.379 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1302, allocations: 0.5 kB / 0.8444 GB, free: 7.379 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.806e-05/0.1303, allocations: 105.3 kB / 0.8445 GB, free: 7.246 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1303, allocations: 4.625 kB / 0.8445 GB, free: 7.242 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/0.1303, allocations: 8.438 kB / 0.8445 GB, free: 7.234 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1303, allocations: 0.5 kB / 0.8445 GB, free: 7.234 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1303, allocations: 3.938 kB / 0.8445 GB, free: 7.23 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1303, allocations: 0.5 kB / 0.8445 GB, free: 7.23 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1303, allocations: 4.562 kB / 0.8445 GB, free: 7.227 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.092e-05/0.1304, allocations: 77.08 kB / 0.8446 GB, free: 7.133 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-06/0.1304, allocations: 4.625 kB / 0.8446 GB, free: 7.129 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-06/0.1304, allocations: 0.5938 kB / 0.8446 GB, free: 7.129 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-06/0.1304, allocations: 0 / 0.8446 GB, free: 7.129 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.1304, allocations: 16.45 kB / 0.8446 GB, free: 7.113 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.1304, allocations: 0 / 0.8446 GB, free: 7.113 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.896e-05/0.1304, allocations: 88.25 kB / 0.8447 GB, free: 7.027 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1304, allocations: 0 / 0.8447 GB, free: 7.027 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001084/0.1305, allocations: 4.625 kB / 0.8447 GB, free: 7.023 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 9.49e-05/0.1306, allocations: 103.8 kB / 0.8448 GB, free: 6.91 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.767e-05/0.1307, allocations: 20.56 kB / 0.8448 GB, free: 6.891 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1307, allocations: 0.5312 kB / 0.8448 GB, free: 6.891 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.117e-05/0.1307, allocations: 8 kB / 0.8448 GB, free: 6.883 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.1308, allocations: 8.516 kB / 0.8448 GB, free: 6.875 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.1311, allocations: 143.2 kB / 0.8449 GB, free: 6.703 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.1311, allocations: 68.53 kB / 0.845 GB, free: 6.617 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.1311, allocations: 7.438 kB / 0.845 GB, free: 6.609 MB / 474.8 MB Notification: Performance of SimCode: time 6.61e-07/0.1311, allocations: 0.5938 kB / 0.845 GB, free: 6.609 MB / 474.8 MB Notification: Performance of Templates: time 0.001382/0.1325, allocations: 0.5156 MB / 0.8455 GB, free: 6.113 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.827876307070255]