Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg.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.001213/0.001213, allocations: 104.4 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.001652/0.001652, allocations: 215.5 kB / 23 MB, free: 2.938 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 0.9587/0.9587, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.7438/0.7438, allocations: 312.3 MB / 0.6108 GB, free: 96.94 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.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg") [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.004701/0.004701, allocations: 73.69 kB / 0.7699 GB, free: 19.62 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1191, allocations: 73.99 MB / 0.8421 GB, free: 9.777 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg): time 0.001427/0.1205, allocations: 0.6199 MB / 0.8427 GB, free: 9.172 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.616e-05/0.1205, allocations: 8.516 kB / 0.8427 GB, free: 9.164 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.247e-05/0.1206, allocations: 0 / 0.8427 GB, free: 9.164 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.117e-05/0.1206, allocations: 0.5 kB / 0.8427 GB, free: 9.164 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 2.827e-05/0.1206, allocations: 4.656 kB / 0.8427 GB, free: 9.16 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.852e-05/0.1207, allocations: 4 kB / 0.8427 GB, free: 9.156 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.175e-05/0.1207, allocations: 16.55 kB / 0.8428 GB, free: 9.141 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.1208, allocations: 0 / 0.8428 GB, free: 9.141 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.099e-05/0.1208, allocations: 12.48 kB / 0.8428 GB, free: 9.129 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.1209, allocations: 8.562 kB / 0.8428 GB, free: 9.121 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1209, allocations: 0 / 0.8428 GB, free: 9.121 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.698e-06/0.1209, allocations: 4.438 kB / 0.8428 GB, free: 9.117 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.1209, allocations: 12.69 kB / 0.8428 GB, free: 9.105 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.1209, allocations: 7.938 kB / 0.8428 GB, free: 9.098 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.02e-05/0.121, allocations: 12.48 kB / 0.8428 GB, free: 9.086 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.121, allocations: 0 / 0.8428 GB, free: 9.086 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.304e-06/0.121, allocations: 0.6562 kB / 0.8428 GB, free: 9.086 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.121, allocations: 0.7188 kB / 0.8428 GB, free: 9.086 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.0003395/0.1213, allocations: 258.3 kB / 0.8431 GB, free: 8.801 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1214, allocations: 8.625 kB / 0.8431 GB, free: 8.793 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.1214, allocations: 5.625 kB / 0.8431 GB, free: 8.789 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.428e-05/0.1215, allocations: 114.4 kB / 0.8432 GB, free: 8.652 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1215, allocations: 8.891 kB / 0.8432 GB, free: 8.645 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.1215, allocations: 4.875 kB / 0.8432 GB, free: 8.641 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.483e-05/0.1216, allocations: 30.27 kB / 0.8432 GB, free: 8.605 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1216, allocations: 4.812 kB / 0.8432 GB, free: 8.602 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.1216, allocations: 4.531 kB / 0.8432 GB, free: 8.598 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1216, allocations: 0 / 0.8432 GB, free: 8.598 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.824e-05/0.1216, allocations: 20.45 kB / 0.8433 GB, free: 8.578 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.1217, allocations: 102.1 kB / 0.8434 GB, free: 8.449 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.1219, allocations: 42.64 kB / 0.8434 GB, free: 8.398 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.1219, allocations: 17.52 kB / 0.8434 GB, free: 8.379 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.122, allocations: 4.5 kB / 0.8434 GB, free: 8.375 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.122, allocations: 31.25 kB / 0.8434 GB, free: 8.336 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.122, allocations: 0 / 0.8434 GB, free: 8.336 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001305/0.1221, allocations: 66.25 kB / 0.8435 GB, free: 8.266 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.1221, allocations: 55.41 kB / 0.8436 GB, free: 8.199 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.471e-05/0.1222, allocations: 98.67 kB / 0.8437 GB, free: 8.094 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.1222, allocations: 29.69 kB / 0.8437 GB, free: 8.059 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.387e-05/0.1222, allocations: 84.67 kB / 0.8438 GB, free: 7.973 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.1222, allocations: 16.53 kB / 0.8438 GB, free: 7.957 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/0.1223, allocations: 13.72 kB / 0.8438 GB, free: 7.938 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.104e-05/0.1223, allocations: 319.4 kB / 0.8441 GB, free: 7.617 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.495e-05/0.1224, allocations: 4 kB / 0.8441 GB, free: 7.613 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.322e-05/0.1224, allocations: 8.766 kB / 0.8441 GB, free: 7.605 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.1224, allocations: 24.86 kB / 0.8441 GB, free: 7.578 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1224, allocations: 4.594 kB / 0.8441 GB, free: 7.574 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.892e-05/0.1225, allocations: 46.31 kB / 0.8442 GB, free: 7.523 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1225, allocations: 8 kB / 0.8442 GB, free: 7.516 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1225, allocations: 0.625 kB / 0.8442 GB, free: 7.516 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1225, allocations: 3.938 kB / 0.8442 GB, free: 7.512 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.448e-05/0.1225, allocations: 4.594 kB / 0.8442 GB, free: 7.508 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1225, allocations: 0.625 kB / 0.8442 GB, free: 7.508 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.1225, allocations: 3.953 kB / 0.8442 GB, free: 7.504 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.1226, allocations: 8.672 kB / 0.8442 GB, free: 7.496 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.187e-05/0.1226, allocations: 110.4 kB / 0.8443 GB, free: 7.379 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-06/0.1226, allocations: 4.594 kB / 0.8443 GB, free: 7.375 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.604e-05/0.1226, allocations: 3.688 kB / 0.8443 GB, free: 7.371 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1226, allocations: 4.438 kB / 0.8443 GB, free: 7.367 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1226, allocations: 0.5938 kB / 0.8443 GB, free: 7.367 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1226, allocations: 0 / 0.8443 GB, free: 7.367 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.065e-05/0.1227, allocations: 113.8 kB / 0.8444 GB, free: 7.227 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.1227, allocations: 0.6875 kB / 0.8444 GB, free: 7.227 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.1227, allocations: 11.88 kB / 0.8445 GB, free: 7.215 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1227, allocations: 0.875 kB / 0.8445 GB, free: 7.215 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1227, allocations: 4 kB / 0.8445 GB, free: 7.211 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1227, allocations: 8.656 kB / 0.8445 GB, free: 7.203 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1227, allocations: 3.938 kB / 0.8445 GB, free: 7.199 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.81e-05/0.1228, allocations: 73.67 kB / 0.8445 GB, free: 7.109 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-06/0.1228, allocations: 0.625 kB / 0.8445 GB, free: 7.109 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.1228, allocations: 7.938 kB / 0.8445 GB, free: 7.102 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-06/0.1228, allocations: 4.594 kB / 0.8445 GB, free: 7.098 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.1228, allocations: 8.547 kB / 0.8446 GB, free: 7.09 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-06/0.1228, allocations: 0 / 0.8446 GB, free: 7.09 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.514e-05/0.1229, allocations: 79.91 kB / 0.8446 GB, free: 7.012 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1229, allocations: 0 / 0.8446 GB, free: 7.012 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001097/0.123, allocations: 8.594 kB / 0.8446 GB, free: 7.004 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.316e-05/0.1231, allocations: 103.8 kB / 0.8447 GB, free: 6.891 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.851e-05/0.1231, allocations: 20.7 kB / 0.8448 GB, free: 6.871 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1231, allocations: 0 / 0.8448 GB, free: 6.871 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.043e-05/0.1231, allocations: 8.688 kB / 0.8448 GB, free: 6.863 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000104/0.1232, allocations: 1.594 kB / 0.8448 GB, free: 6.863 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.1235, allocations: 155.2 kB / 0.8449 GB, free: 6.68 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.706e-05/0.1235, allocations: 60 kB / 0.845 GB, free: 6.602 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.1235, allocations: 11.81 kB / 0.845 GB, free: 6.59 MB / 474.8 MB Notification: Performance of SimCode: time 6.92e-07/0.1235, allocations: 0.625 kB / 0.845 GB, free: 6.59 MB / 474.8 MB Notification: Performance of Templates: time 0.001347/0.1249, allocations: 0.5199 MB / 0.8455 GB, free: 6.09 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.0110122645273805]