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_vas_external_perception.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.002503/0.002503, allocations: 101.5 kB / 18.95 MB, free: 1.18 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.002918/0.002918, allocations: 217.9 kB / 22.25 MB, free: 3.582 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.752/1.752, allocations: 230.6 MB / 256 MB, free: 9.645 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.505/1.505, allocations: 316.7 MB / 0.6144 GB, free: 93.13 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.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_external_perception,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_external_perception") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_external_perception,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_external_perception") [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.003939/0.003939, allocations: 79.48 kB / 0.7749 GB, free: 14.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1827, allocations: 73.98 MB / 0.8472 GB, free: 4.953 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_external_perception): time 0.002066/0.1848, allocations: 0.6292 MB / 0.8478 GB, free: 4.34 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.198e-05/0.1848, allocations: 8.484 kB / 0.8478 GB, free: 4.332 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.1848, allocations: 0 / 0.8478 GB, free: 4.332 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.1848, allocations: 0.5938 kB / 0.8478 GB, free: 4.332 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.565e-05/0.1849, allocations: 4.625 kB / 0.8478 GB, free: 4.328 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.37e-05/0.1849, allocations: 0 / 0.8478 GB, free: 4.328 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.904e-05/0.185, allocations: 16.7 kB / 0.8478 GB, free: 4.312 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.1851, allocations: 0 / 0.8478 GB, free: 4.312 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.108e-05/0.1851, allocations: 8.688 kB / 0.8478 GB, free: 4.305 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.1852, allocations: 15.97 kB / 0.8479 GB, free: 4.289 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1852, allocations: 2.281 kB / 0.8479 GB, free: 4.289 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.879e-06/0.1852, allocations: 0 / 0.8479 GB, free: 4.289 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.1852, allocations: 3.938 kB / 0.8479 GB, free: 4.285 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.1852, allocations: 7.938 kB / 0.8479 GB, free: 4.277 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.311e-05/0.1853, allocations: 3.984 kB / 0.8479 GB, free: 4.273 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.1853, allocations: 4 kB / 0.8479 GB, free: 4.27 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1853, allocations: 0.7188 kB / 0.8479 GB, free: 4.27 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1853, allocations: 0 / 0.8479 GB, free: 4.27 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004455/0.1857, allocations: 259.3 kB / 0.8481 GB, free: 3.984 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1858, allocations: 12.03 kB / 0.8481 GB, free: 3.973 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.1858, allocations: 1.531 kB / 0.8481 GB, free: 3.973 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.1859, allocations: 118.5 kB / 0.8482 GB, free: 3.832 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.186, allocations: 4.906 kB / 0.8483 GB, free: 3.828 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.186, allocations: 384 / 0.8483 GB, free: 3.828 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.1861, allocations: 30.95 kB / 0.8483 GB, free: 3.793 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1861, allocations: 4.781 kB / 0.8483 GB, free: 3.789 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1861, allocations: 3.938 kB / 0.8483 GB, free: 3.785 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1861, allocations: 4.703 kB / 0.8483 GB, free: 3.781 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.117e-05/0.1861, allocations: 8 kB / 0.8483 GB, free: 3.773 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.1863, allocations: 110 kB / 0.8484 GB, free: 3.637 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.1867, allocations: 47.16 kB / 0.8485 GB, free: 3.582 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.1867, allocations: 13.42 kB / 0.8485 GB, free: 3.566 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.1867, allocations: 0 / 0.8485 GB, free: 3.566 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.1868, allocations: 39.05 kB / 0.8485 GB, free: 3.52 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1868, allocations: 0.5938 kB / 0.8485 GB, free: 3.52 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.000185/0.187, allocations: 50.08 kB / 0.8486 GB, free: 3.465 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.187, allocations: 55.41 kB / 0.8486 GB, free: 3.398 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/0.1871, allocations: 102.4 kB / 0.8487 GB, free: 3.289 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1871, allocations: 26.42 kB / 0.8487 GB, free: 3.258 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.1872, allocations: 88.14 kB / 0.8488 GB, free: 3.168 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1872, allocations: 12.52 kB / 0.8488 GB, free: 3.156 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.1873, allocations: 17.66 kB / 0.8488 GB, free: 3.133 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1874, allocations: 315.3 kB / 0.8491 GB, free: 2.816 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.1874, allocations: 4.688 kB / 0.8491 GB, free: 2.812 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.513e-05/0.1875, allocations: 7.984 kB / 0.8492 GB, free: 2.805 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.285e-05/0.1875, allocations: 17.48 kB / 0.8492 GB, free: 2.785 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1875, allocations: 0 / 0.8492 GB, free: 2.785 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.528e-05/0.1876, allocations: 46.23 kB / 0.8492 GB, free: 2.734 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1876, allocations: 8.734 kB / 0.8492 GB, free: 2.727 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1876, allocations: 336 / 0.8492 GB, free: 2.727 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1876, allocations: 4.438 kB / 0.8492 GB, free: 2.723 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.514e-05/0.1877, allocations: 4 kB / 0.8492 GB, free: 2.719 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1877, allocations: 1.906 kB / 0.8492 GB, free: 2.719 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.1877, allocations: 4 kB / 0.8492 GB, free: 2.715 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1877, allocations: 4.25 kB / 0.8492 GB, free: 2.711 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 (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 0.0001073/0.1878, allocations: 105.8 kB / 0.8493 GB, free: 2.598 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.1878, allocations: 12.66 kB / 0.8494 GB, free: 2.586 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.1879, allocations: 8 kB / 0.8494 GB, free: 2.574 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1879, allocations: 9.812 kB / 0.8494 GB, free: 2.566 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1879, allocations: 4 kB / 0.8494 GB, free: 2.562 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1879, allocations: 3.984 kB / 0.8494 GB, free: 2.559 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.188, allocations: 109.2 kB / 0.8495 GB, free: 2.422 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.188, allocations: 0 / 0.8495 GB, free: 2.422 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.188, allocations: 9.219 kB / 0.8495 GB, free: 2.414 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.188, allocations: 0 / 0.8495 GB, free: 2.414 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.188, allocations: 0 / 0.8495 GB, free: 2.414 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.188, allocations: 0 / 0.8495 GB, free: 2.414 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.188, allocations: 8.703 kB / 0.8495 GB, free: 2.406 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.1881, allocations: 69.08 kB / 0.8496 GB, free: 2.32 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.1881, allocations: 8.5 kB / 0.8496 GB, free: 2.312 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.1881, allocations: 1.938 kB / 0.8496 GB, free: 2.312 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.71e-05/0.1882, allocations: 0 / 0.8496 GB, free: 2.312 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.1882, allocations: 11.94 kB / 0.8496 GB, free: 2.301 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.1882, allocations: 0 / 0.8496 GB, free: 2.301 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.405e-05/0.1882, allocations: 83.27 kB / 0.8497 GB, free: 2.219 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1882, allocations: 0 / 0.8497 GB, free: 2.219 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001707/0.1884, allocations: 6.25 kB / 0.8497 GB, free: 2.215 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 (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 0.0001292/0.1885, allocations: 105.5 kB / 0.8498 GB, free: 2.105 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.33e-05/0.1886, allocations: 15.94 kB / 0.8498 GB, free: 2.09 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1886, allocations: 0 / 0.8498 GB, free: 2.09 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.595e-05/0.1886, allocations: 8.766 kB / 0.8498 GB, free: 2.082 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.1888, allocations: 8 kB / 0.8498 GB, free: 2.074 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.1891, allocations: 113.6 kB / 0.8499 GB, free: 1.938 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.638e-05/0.1891, allocations: 63.95 kB / 0.85 GB, free: 1.855 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.678e-05/0.1892, allocations: 4.594 kB / 0.85 GB, free: 1.852 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.1892, allocations: 7.438 kB / 0.85 GB, free: 1.844 MB / 474.8 MB Notification: Performance of SimCode: time 5.31e-07/0.1892, allocations: 0.625 kB / 0.85 GB, free: 1.844 MB / 474.8 MB Notification: Performance of Templates: time 0.002801/0.192, allocations: 395.6 kB / 0.8504 GB, free: 1.527 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_external_perception.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_external_perception.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_external_perception.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_external_perception.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_external_perception.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_external_perception -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_external_perception.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.485866880044341]