Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.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.0008042/0.0008042, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008998/0.001704, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008728/0.0008728, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01232/0.01319, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.064/1.064, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09546/1.16, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.7729/0.7729, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03959/0.8125, allocations: 21.03 MB / 0.5431 GB, free: 31.98 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_LiemMoolenaar2011_PD_adaptive_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5445 GB, free: 30.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236e-05/1.395e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking): time 0.00119/0.001204, allocations: 0.6744 MB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.034e-05/0.001235, allocations: 15.92 kB / 0.5452 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.001253, allocations: 0 / 0.5452 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.328e-06/0.001257, allocations: 0 / 0.5452 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.207e-06/0.001266, allocations: 0 / 0.5452 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.366e-05/0.00129, allocations: 0 / 0.5452 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.176e-05/0.001342, allocations: 15.92 kB / 0.5452 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.001383, allocations: 11.92 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.104e-05/0.001434, allocations: 15.92 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.705e-05/0.001481, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.001506, allocations: 8 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.43e-06/0.001511, allocations: 0 / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.001523, allocations: 3.938 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.001545, allocations: 4 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.76e-05/0.001602, allocations: 11.92 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.541e-05/0.001618, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.001618, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.001635, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002994/0.001934, allocations: 235.1 kB / 0.5455 GB, free: 29.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.001966, allocations: 11.89 kB / 0.5455 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.00199, allocations: 8.938 kB / 0.5455 GB, free: 29.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.554e-05/0.002056, allocations: 113.7 kB / 0.5456 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.002066, allocations: 384 / 0.5456 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.002073, allocations: 7.5 kB / 0.5456 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.153e-05/0.002135, allocations: 30.27 kB / 0.5456 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.002141, allocations: 192 / 0.5456 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.002147, allocations: 4.375 kB / 0.5456 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.002152, allocations: 384 / 0.5456 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.32e-05/0.002175, allocations: 15.86 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.728e-05/0.002252, allocations: 61.05 kB / 0.5457 GB, free: 29.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.002476, allocations: 46.59 kB / 0.5457 GB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.428e-05/0.002491, allocations: 4.859 kB / 0.5457 GB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.002498, allocations: 4 kB / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.002515, allocations: 34.56 kB / 0.5458 GB, free: 29.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.002516, allocations: 0 / 0.5458 GB, free: 29.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001081/0.002624, allocations: 41.62 kB / 0.5458 GB, free: 29.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.002647, allocations: 55.41 kB / 0.5459 GB, free: 29.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.791e-05/0.002685, allocations: 106.7 kB / 0.546 GB, free: 28.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.819e-06/0.00269, allocations: 25.7 kB / 0.546 GB, free: 28.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.998e-06/0.0027, allocations: 84.14 kB / 0.5461 GB, free: 28.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.002725, allocations: 11.88 kB / 0.5461 GB, free: 28.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.002753, allocations: 21.72 kB / 0.5461 GB, free: 28.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.085e-05/0.002784, allocations: 318.8 kB / 0.5464 GB, free: 28.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-06/0.002791, allocations: 4 kB / 0.5464 GB, free: 28.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-06/0.0028, allocations: 4 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.236e-05/0.002822, allocations: 17.06 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.002824, allocations: 0 / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.795e-05/0.002862, allocations: 37.69 kB / 0.5465 GB, free: 28.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.002874, allocations: 8 kB / 0.5465 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.002879, allocations: 0 / 0.5465 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.002887, allocations: 0 / 0.5465 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.8e-05/0.002925, allocations: 11.98 kB / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.002928, allocations: 0 / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.002942, allocations: 3.953 kB / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-06/0.002945, allocations: 4 kB / 0.5465 GB, free: 28.39 MB / 410.7 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 (3): * Single equations (assignments): 3 * 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 3.28e-05/0.002978, allocations: 113.8 kB / 0.5466 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-06/0.002984, allocations: 8 kB / 0.5466 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.003002, allocations: 4 kB / 0.5466 GB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.003003, allocations: 0 / 0.5466 GB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.003004, allocations: 7.875 kB / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.003007, allocations: 2.875 kB / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.986e-05/0.003057, allocations: 73.83 kB / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.003058, allocations: 4 kB / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.478e-05/0.003073, allocations: 4 kB / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-06/0.003078, allocations: 0 / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.003079, allocations: 0 / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-06/0.003083, allocations: 8 kB / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.003084, allocations: 0 / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.003084, allocations: 0 / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.473e-05/0.003129, allocations: 65.06 kB / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.003139, allocations: 3.984 kB / 0.5468 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-06/0.003148, allocations: 0 / 0.5468 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-06/0.003157, allocations: 0 / 0.5468 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-06/0.003159, allocations: 4 kB / 0.5468 GB, free: 28.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.929e-06/0.003169, allocations: 16.78 kB / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003169, allocations: 0 / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00013/0.003299, allocations: 8 kB / 0.5468 GB, free: 28.03 MB / 410.7 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 (3): * Single equations (assignments): 3 * 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.114e-05/0.00336, allocations: 88.41 kB / 0.5469 GB, free: 27.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.378e-05/0.003413, allocations: 12.86 kB / 0.5469 GB, free: 27.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.003418, allocations: 0 / 0.5469 GB, free: 27.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.198e-06/0.003427, allocations: 8.859 kB / 0.5469 GB, free: 27.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.672e-05/0.003494, allocations: 7.938 kB / 0.5469 GB, free: 27.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001782/0.003672, allocations: 124.4 kB / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.001e-05/0.003692, allocations: 55.36 kB / 0.5471 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.313e-05/0.003705, allocations: 0 / 0.5471 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.00373, allocations: 51.38 kB / 0.5471 GB, free: 27.63 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.00373, allocations: 0 / 0.5471 GB, free: 27.63 MB / 410.7 MB Notification: Performance of Templates: time 0.001886/0.005617, allocations: 454.1 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2356158578768373]