Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.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.0009319/0.0009319, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0008743/0.0008743, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9234/0.9234, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.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.681/0.681, allocations: 291.2 MB / 0.5382 GB, free: 51.76 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.ChromicAcid.ChromicAcid_Van1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.6973 GB, free: 10.42 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.132e-05, allocations: 5.234 kB / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference): time 0.00177/0.001792, allocations: 1.822 MB / 0.6991 GB, free: 8.574 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000644/0.002436, allocations: 0.5458 MB / 0.6997 GB, free: 8.023 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.002485, allocations: 0 / 0.6997 GB, free: 8.023 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.726e-05/0.002573, allocations: 15.86 kB / 0.6997 GB, free: 8.008 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.002877, allocations: 74.47 kB / 0.6997 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.002993, allocations: 71.77 kB / 0.6998 GB, free: 7.867 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.00314, allocations: 159.3 kB / 0.7 GB, free: 7.711 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.003182, allocations: 5.312 kB / 0.7 GB, free: 7.707 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.407e-05/0.003276, allocations: 91.78 kB / 0.7001 GB, free: 7.617 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.003456, allocations: 83.75 kB / 0.7001 GB, free: 7.535 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.003476, allocations: 4 kB / 0.7001 GB, free: 7.531 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.584e-05/0.003492, allocations: 12 kB / 0.7002 GB, free: 7.52 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.003539, allocations: 27.91 kB / 0.7002 GB, free: 7.492 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.003588, allocations: 39.91 kB / 0.7002 GB, free: 7.453 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.003697, allocations: 111.6 kB / 0.7003 GB, free: 7.344 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003699, allocations: 0 / 0.7003 GB, free: 7.344 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.022e-06/0.0037, allocations: 0 / 0.7003 GB, free: 7.344 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.798e-06/0.003704, allocations: 0 / 0.7003 GB, free: 7.344 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004931/0.004197, allocations: 390.4 kB / 0.7007 GB, free: 6.93 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.004231, allocations: 19.89 kB / 0.7007 GB, free: 6.91 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.00427, allocations: 12.84 kB / 0.7007 GB, free: 6.898 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.004394, allocations: 150.1 kB / 0.7009 GB, free: 6.727 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.004408, allocations: 4.375 kB / 0.7009 GB, free: 6.723 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.00443, allocations: 12.36 kB / 0.7009 GB, free: 6.711 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.004588, allocations: 98.17 kB / 0.701 GB, free: 6.609 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.004597, allocations: 3.938 kB / 0.701 GB, free: 6.605 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.004608, allocations: 0 / 0.701 GB, free: 6.605 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.004612, allocations: 4 kB / 0.701 GB, free: 6.602 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.004752, allocations: 83.92 kB / 0.7011 GB, free: 6.52 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.005051, allocations: 288.3 kB / 0.7013 GB, free: 6.207 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.005259, allocations: 138.4 kB / 0.7015 GB, free: 6.062 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.655e-05/0.005335, allocations: 52.75 kB / 0.7015 GB, free: 6.008 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.005349, allocations: 4 kB / 0.7015 GB, free: 6.004 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.0055, allocations: 111.3 kB / 0.7016 GB, free: 5.883 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.005501, allocations: 7.938 kB / 0.7016 GB, free: 5.875 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003131/0.005814, allocations: 200.9 kB / 0.7018 GB, free: 5.676 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.005836, allocations: 55.62 kB / 0.7019 GB, free: 5.609 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.347e-05/0.005919, allocations: 157 kB / 0.702 GB, free: 5.449 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.005931, allocations: 37.64 kB / 0.7021 GB, free: 5.406 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.005967, allocations: 96.09 kB / 0.7022 GB, free: 5.309 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.005986, allocations: 43.64 kB / 0.7022 GB, free: 5.266 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.006025, allocations: 37.7 kB / 0.7022 GB, free: 5.223 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.156e-05/0.006056, allocations: 334.8 kB / 0.7026 GB, free: 4.887 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.125e-05/0.006148, allocations: 77.66 kB / 0.7026 GB, free: 4.805 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.006253, allocations: 203.8 kB / 0.7028 GB, free: 4.57 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.0064, allocations: 140.4 kB / 0.703 GB, free: 4.426 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.006402, allocations: 3.938 kB / 0.703 GB, free: 4.422 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002134/0.006616, allocations: 244.8 kB / 0.7032 GB, free: 4.164 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.006637, allocations: 29.7 kB / 0.7032 GB, free: 4.129 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006641, allocations: 4 kB / 0.7032 GB, free: 4.125 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.006653, allocations: 4 kB / 0.7032 GB, free: 4.121 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.885e-05/0.006742, allocations: 31.92 kB / 0.7033 GB, free: 4.09 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.006747, allocations: 0 / 0.7033 GB, free: 4.09 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.606e-05/0.006823, allocations: 15.92 kB / 0.7033 GB, free: 4.074 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.006832, allocations: 11.98 kB / 0.7033 GB, free: 4.062 MB / 410.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: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 4.955e-05/0.006882, allocations: 122.4 kB / 0.7034 GB, free: 3.934 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.006893, allocations: 19.91 kB / 0.7034 GB, free: 3.914 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.007102, allocations: 166.3 kB / 0.7036 GB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.007104, allocations: 4 kB / 0.7036 GB, free: 3.746 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.007107, allocations: 0 / 0.7036 GB, free: 3.746 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.00711, allocations: 0 / 0.7036 GB, free: 3.746 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.522e-05/0.007186, allocations: 157.2 kB / 0.7037 GB, free: 3.562 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.007187, allocations: 3.938 kB / 0.7037 GB, free: 3.559 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.007264, allocations: 23.98 kB / 0.7038 GB, free: 3.535 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007266, allocations: 4 kB / 0.7038 GB, free: 3.531 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.007275, allocations: 4 kB / 0.7038 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.007276, allocations: 0 / 0.7038 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007277, allocations: 4 kB / 0.7038 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.007556, allocations: 248.9 kB / 0.704 GB, free: 3.262 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.505e-05/0.007571, allocations: 15.88 kB / 0.704 GB, free: 3.246 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.007588, allocations: 4 kB / 0.704 GB, free: 3.242 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.255e-05/0.007641, allocations: 11.98 kB / 0.7041 GB, free: 3.23 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.007688, allocations: 20.03 kB / 0.7041 GB, free: 3.211 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.007695, allocations: 4 kB / 0.7041 GB, free: 3.207 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.177e-05/0.007737, allocations: 131 kB / 0.7042 GB, free: 3.078 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007737, allocations: 0 / 0.7042 GB, free: 3.078 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001277/0.007864, allocations: 35.98 kB / 0.7042 GB, free: 3.043 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.49e-05/0.007929, allocations: 101.7 kB / 0.7043 GB, free: 2.934 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.008152, allocations: 216.9 kB / 0.7045 GB, free: 2.703 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.008153, allocations: 4 kB / 0.7045 GB, free: 2.699 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.262e-05/0.008236, allocations: 63.89 kB / 0.7046 GB, free: 2.637 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.008418, allocations: 53.89 kB / 0.7047 GB, free: 2.59 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.008841, allocations: 335.2 kB / 0.705 GB, free: 2.23 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.945e-05/0.008881, allocations: 93.8 kB / 0.7051 GB, free: 2.121 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.008927, allocations: 24.5 kB / 0.7051 GB, free: 2.094 MB / 410.8 MB Notification: Performance of SimCode: time 5.81e-07/0.008928, allocations: 0 / 0.7051 GB, free: 2.094 MB / 410.8 MB Notification: Performance of Templates: time 0.002193/0.01112, allocations: 2.052 MB / 0.7071 GB, free: 60 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.293038841336966]