Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_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.001092/0.001092, allocations: 92.42 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.0009899/0.0009899, allocations: 165.9 kB / 23.21 MB, free: 1.328 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.9747/0.9747, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.6593/0.6593, allocations: 291.2 MB / 0.5382 GB, free: 51.36 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.LeadChromate.LeadChromate_McAughey1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.985e-05, allocations: 5.234 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference): time 0.001758/0.001778, allocations: 1.803 MB / 0.6991 GB, free: 8.52 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006236/0.002402, allocations: 0.5536 MB / 0.6997 GB, free: 7.961 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.002452, allocations: 0 / 0.6997 GB, free: 7.961 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.82e-05/0.002541, allocations: 15.8 kB / 0.6997 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.002819, allocations: 67.55 kB / 0.6998 GB, free: 7.879 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.002932, allocations: 67.52 kB / 0.6998 GB, free: 7.816 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.003081, allocations: 171.3 kB / 0.7 GB, free: 7.648 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.003119, allocations: 5.312 kB / 0.7 GB, free: 7.645 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.295e-05/0.003212, allocations: 95.78 kB / 0.7001 GB, free: 7.551 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.00338, allocations: 75.77 kB / 0.7002 GB, free: 7.477 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.003398, allocations: 8 kB / 0.7002 GB, free: 7.469 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.003413, allocations: 8 kB / 0.7002 GB, free: 7.461 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.003457, allocations: 31.89 kB / 0.7002 GB, free: 7.43 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.837e-05/0.003505, allocations: 43.84 kB / 0.7002 GB, free: 7.387 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.003612, allocations: 107.6 kB / 0.7004 GB, free: 7.281 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003614, allocations: 0 / 0.7004 GB, free: 7.281 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.122e-06/0.003615, allocations: 3.984 kB / 0.7004 GB, free: 7.277 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.003618, allocations: 0 / 0.7004 GB, free: 7.277 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.0004741/0.004093, allocations: 394 kB / 0.7007 GB, free: 6.859 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.004125, allocations: 8.031 kB / 0.7007 GB, free: 6.852 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.004163, allocations: 20.78 kB / 0.7008 GB, free: 6.832 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.00428, allocations: 142.2 kB / 0.7009 GB, free: 6.668 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.004293, allocations: 8.375 kB / 0.7009 GB, free: 6.66 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.004319, allocations: 4.375 kB / 0.7009 GB, free: 6.656 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.004471, allocations: 106.2 kB / 0.701 GB, free: 6.547 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.00448, allocations: 7.922 kB / 0.701 GB, free: 6.539 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.00449, allocations: 0 / 0.701 GB, free: 6.539 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.004495, allocations: 0 / 0.701 GB, free: 6.539 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.004633, allocations: 83.86 kB / 0.7011 GB, free: 6.457 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.004922, allocations: 284.4 kB / 0.7014 GB, free: 6.148 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.005125, allocations: 134.4 kB / 0.7015 GB, free: 6.008 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.464e-05/0.005199, allocations: 61.03 kB / 0.7016 GB, free: 5.945 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.005212, allocations: 3.938 kB / 0.7016 GB, free: 5.941 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.005354, allocations: 115.2 kB / 0.7017 GB, free: 5.816 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.005355, allocations: 0 / 0.7017 GB, free: 5.816 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003081/0.005663, allocations: 193.7 kB / 0.7019 GB, free: 5.621 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.005684, allocations: 63.39 kB / 0.7019 GB, free: 5.547 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.406e-05/0.005758, allocations: 155.6 kB / 0.7021 GB, free: 5.387 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.005769, allocations: 29.7 kB / 0.7021 GB, free: 5.352 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.005802, allocations: 100.1 kB / 0.7022 GB, free: 5.25 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.005821, allocations: 47.64 kB / 0.7022 GB, free: 5.203 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.005858, allocations: 33.7 kB / 0.7023 GB, free: 5.164 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.703e-05/0.005885, allocations: 326.8 kB / 0.7026 GB, free: 4.836 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-05/0.005979, allocations: 85.64 kB / 0.7027 GB, free: 4.746 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.006081, allocations: 198 kB / 0.7028 GB, free: 4.516 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.006227, allocations: 145.5 kB / 0.703 GB, free: 4.367 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006229, allocations: 7.938 kB / 0.703 GB, free: 4.359 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002072/0.006436, allocations: 236.8 kB / 0.7032 GB, free: 4.109 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.006452, allocations: 37.69 kB / 0.7033 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.006456, allocations: 0 / 0.7033 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.006466, allocations: 0 / 0.7033 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.475e-05/0.00655, allocations: 31.92 kB / 0.7033 GB, free: 4.035 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.006554, allocations: 4 kB / 0.7033 GB, free: 4.031 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.006628, allocations: 19.92 kB / 0.7033 GB, free: 4.012 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.006637, allocations: 11.98 kB / 0.7033 GB, free: 4 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.596e-05/0.006683, allocations: 118.4 kB / 0.7034 GB, free: 3.875 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.006694, allocations: 15.91 kB / 0.7034 GB, free: 3.859 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.006895, allocations: 173.3 kB / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006897, allocations: 0 / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.0069, allocations: 0 / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.006903, allocations: 0 / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.181e-05/0.006974, allocations: 161.2 kB / 0.7038 GB, free: 3.504 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.006976, allocations: 3.938 kB / 0.7038 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.732e-05/0.007054, allocations: 23.98 kB / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.007055, allocations: 0 / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.007064, allocations: 4 kB / 0.7038 GB, free: 3.473 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.007064, allocations: 0 / 0.7038 GB, free: 3.473 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.007065, allocations: 3.938 kB / 0.7038 GB, free: 3.469 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.007335, allocations: 256.9 kB / 0.704 GB, free: 3.199 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.51e-05/0.00735, allocations: 15.88 kB / 0.7041 GB, free: 3.184 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.00737, allocations: 4 kB / 0.7041 GB, free: 3.18 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.202e-05/0.007422, allocations: 11.98 kB / 0.7041 GB, free: 3.168 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.007465, allocations: 23.91 kB / 0.7041 GB, free: 3.145 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.007472, allocations: 0 / 0.7041 GB, free: 3.145 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.269e-05/0.007514, allocations: 125.8 kB / 0.7042 GB, free: 3.023 MB / 410.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007514, allocations: 0 / 0.7042 GB, free: 3.023 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001261/0.00764, allocations: 32 kB / 0.7042 GB, free: 2.992 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.14e-05/0.007702, allocations: 107.3 kB / 0.7043 GB, free: 2.875 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.007922, allocations: 209 kB / 0.7045 GB, free: 2.652 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.007923, allocations: 4 kB / 0.7046 GB, free: 2.648 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.943e-05/0.008003, allocations: 63.89 kB / 0.7046 GB, free: 2.586 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.008174, allocations: 46.28 kB / 0.7047 GB, free: 2.543 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.008574, allocations: 339.1 kB / 0.705 GB, free: 2.18 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.708e-05/0.008611, allocations: 97.8 kB / 0.7051 GB, free: 2.066 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.008654, allocations: 20.5 kB / 0.7051 GB, free: 2.043 MB / 410.8 MB Notification: Performance of SimCode: time 4.7e-07/0.008655, allocations: 0 / 0.7051 GB, free: 2.043 MB / 410.8 MB Notification: Performance of Templates: time 0.002018/0.01067, allocations: 2.048 MB / 0.7071 GB, free: 16 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.256648066453636]