Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr.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.0009164/0.0009164, 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.00103/0.00103, allocations: 215.5 kB / 23.01 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 1.134/1.134, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.7941/0.7941, allocations: 312.3 MB / 0.6109 GB, free: 97.73 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.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr") [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.001482/0.001482, allocations: 79.34 kB / 0.7699 GB, free: 20.3 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1479, allocations: 73.98 MB / 0.8421 GB, free: 10.44 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr): time 0.001833/0.1497, allocations: 0.6443 MB / 0.8428 GB, free: 9.812 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.337e-05/0.1498, allocations: 15.92 kB / 0.8428 GB, free: 9.797 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.1498, allocations: 4.469 kB / 0.8428 GB, free: 9.793 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.1498, allocations: 0.5938 kB / 0.8428 GB, free: 9.793 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.716e-05/0.1499, allocations: 3.938 kB / 0.8428 GB, free: 9.789 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.747e-05/0.1499, allocations: 4.516 kB / 0.8428 GB, free: 9.785 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.125e-05/0.15, allocations: 16.48 kB / 0.8428 GB, free: 9.77 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.537e-05/0.1501, allocations: 4.625 kB / 0.8428 GB, free: 9.766 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.237e-05/0.1501, allocations: 8 kB / 0.8428 GB, free: 9.758 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.926e-05/0.1501, allocations: 8.547 kB / 0.8428 GB, free: 9.75 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1502, allocations: 4 kB / 0.8428 GB, free: 9.746 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.849e-06/0.1502, allocations: 0.7188 kB / 0.8428 GB, free: 9.746 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.1502, allocations: 3.938 kB / 0.8428 GB, free: 9.742 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.1502, allocations: 8.5 kB / 0.8429 GB, free: 9.734 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.213e-05/0.1503, allocations: 16.56 kB / 0.8429 GB, free: 9.719 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1503, allocations: 4 kB / 0.8429 GB, free: 9.715 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1503, allocations: 0.6562 kB / 0.8429 GB, free: 9.715 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1503, allocations: 0 / 0.8429 GB, free: 9.715 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.0003786/0.1507, allocations: 263.4 kB / 0.8431 GB, free: 9.426 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.1507, allocations: 11.89 kB / 0.8431 GB, free: 9.414 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.1508, allocations: 1.562 kB / 0.8431 GB, free: 9.414 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1509, allocations: 114.4 kB / 0.8432 GB, free: 9.277 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1509, allocations: 1 kB / 0.8433 GB, free: 9.277 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.1509, allocations: 4.969 kB / 0.8433 GB, free: 9.273 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.151, allocations: 38.25 kB / 0.8433 GB, free: 9.23 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.151, allocations: 0.7188 kB / 0.8433 GB, free: 9.23 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.151, allocations: 4.656 kB / 0.8433 GB, free: 9.227 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.151, allocations: 0 / 0.8433 GB, free: 9.227 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.224e-05/0.1511, allocations: 12.53 kB / 0.8433 GB, free: 9.215 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.1512, allocations: 113.3 kB / 0.8434 GB, free: 9.074 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1514, allocations: 43.23 kB / 0.8435 GB, free: 9.023 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.1514, allocations: 17.48 kB / 0.8435 GB, free: 9.004 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.1514, allocations: 0.5938 kB / 0.8435 GB, free: 9.004 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.1514, allocations: 34.56 kB / 0.8435 GB, free: 8.961 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1514, allocations: 0.5312 kB / 0.8435 GB, free: 8.961 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001489/0.1516, allocations: 66.27 kB / 0.8436 GB, free: 8.891 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.1516, allocations: 51.41 kB / 0.8436 GB, free: 8.828 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.378e-05/0.1517, allocations: 106.4 kB / 0.8437 GB, free: 8.715 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.1517, allocations: 26.2 kB / 0.8437 GB, free: 8.684 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.639e-05/0.1517, allocations: 80.14 kB / 0.8438 GB, free: 8.602 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.1517, allocations: 12.62 kB / 0.8438 GB, free: 8.59 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.1518, allocations: 21.64 kB / 0.8439 GB, free: 8.562 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.1518, allocations: 319.5 kB / 0.8442 GB, free: 8.242 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.1519, allocations: 4.656 kB / 0.8442 GB, free: 8.238 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.303e-05/0.1519, allocations: 4 kB / 0.8442 GB, free: 8.234 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.228e-05/0.1519, allocations: 21.44 kB / 0.8442 GB, free: 8.211 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1519, allocations: 0 / 0.8442 GB, free: 8.211 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.207e-05/0.152, allocations: 54.48 kB / 0.8442 GB, free: 8.152 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.152, allocations: 10.83 kB / 0.8443 GB, free: 8.145 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.152, allocations: 0 / 0.8443 GB, free: 8.145 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.152, allocations: 8.562 kB / 0.8443 GB, free: 8.137 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.075e-05/0.1521, allocations: 8.719 kB / 0.8443 GB, free: 8.129 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1521, allocations: 0 / 0.8443 GB, free: 8.129 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.397e-05/0.1521, allocations: 4.453 kB / 0.8443 GB, free: 8.125 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.1521, allocations: 0 / 0.8443 GB, free: 8.125 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.037e-05/0.1521, allocations: 111.5 kB / 0.8444 GB, free: 8.008 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-06/0.1521, allocations: 0.5938 kB / 0.8444 GB, free: 8.008 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.1522, allocations: 12.31 kB / 0.8444 GB, free: 7.996 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1522, allocations: 3.938 kB / 0.8444 GB, free: 7.992 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1522, allocations: 0.625 kB / 0.8444 GB, free: 7.992 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1522, allocations: 3.984 kB / 0.8444 GB, free: 7.988 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.48e-05/0.1522, allocations: 101.9 kB / 0.8445 GB, free: 7.859 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1523, allocations: 0.6875 kB / 0.8445 GB, free: 7.859 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.461e-05/0.1523, allocations: 8 kB / 0.8445 GB, free: 7.852 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1523, allocations: 4.531 kB / 0.8445 GB, free: 7.848 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.1523, allocations: 0.6875 kB / 0.8445 GB, free: 7.848 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1523, allocations: 3.938 kB / 0.8445 GB, free: 7.844 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1523, allocations: 8.578 kB / 0.8445 GB, free: 7.836 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.1525, allocations: 77.08 kB / 0.8446 GB, free: 7.742 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-06/0.1525, allocations: 8.594 kB / 0.8446 GB, free: 7.734 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.1525, allocations: 0 / 0.8446 GB, free: 7.734 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.657e-06/0.1525, allocations: 4.719 kB / 0.8446 GB, free: 7.73 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.1525, allocations: 7.938 kB / 0.8446 GB, free: 7.723 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.1525, allocations: 0.625 kB / 0.8446 GB, free: 7.723 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.723e-05/0.1525, allocations: 84.02 kB / 0.8447 GB, free: 7.641 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1525, allocations: 0 / 0.8447 GB, free: 7.641 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001082/0.1526, allocations: 4.5 kB / 0.8447 GB, free: 7.637 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.7e-05/0.1527, allocations: 99.84 kB / 0.8448 GB, free: 7.527 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.073e-05/0.1528, allocations: 21.02 kB / 0.8448 GB, free: 7.508 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1528, allocations: 0 / 0.8448 GB, free: 7.508 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.178e-05/0.1528, allocations: 12.59 kB / 0.8448 GB, free: 7.496 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.1529, allocations: 0.5625 kB / 0.8448 GB, free: 7.496 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.1531, allocations: 147.3 kB / 0.845 GB, free: 7.32 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.848e-05/0.1532, allocations: 63.92 kB / 0.845 GB, free: 7.238 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.1532, allocations: 12.03 kB / 0.845 GB, free: 7.227 MB / 474.8 MB Notification: Performance of SimCode: time 8.91e-07/0.1532, allocations: 0 / 0.845 GB, free: 7.227 MB / 474.8 MB Notification: Performance of Templates: time 0.001517/0.1547, allocations: 0.5113 MB / 0.8455 GB, free: 6.734 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.057980784215033]